!function(){"use strict";var e={1791:function(e,t,n){const{Deflate:i,deflate:o,deflateRaw:r,gzip:s}=n(8940),{Inflate:a,inflate:l,inflateRaw:d,ungzip:c}=n(3744),u=n(4819);e.exports.Deflate=i,e.exports.deflate=o,e.exports.deflateRaw=r,e.exports.gzip=s,e.exports.Inflate=a,e.exports.inflate=l,e.exports.inflateRaw=d,e.exports.ungzip=c,e.exports.constants=u},8940:function(e,t,n){const i=n(6446),o=n(1824),r=n(5695),s=n(2817),a=n(2495),l=Object.prototype.toString,{Z_NO_FLUSH:d,Z_SYNC_FLUSH:c,Z_FULL_FLUSH:u,Z_FINISH:_,Z_OK:h,Z_STREAM_END:f,Z_DEFAULT_COMPRESSION:p,Z_DEFAULT_STRATEGY:g,Z_DEFLATED:m}=n(4819);function w(e){this.options=o.assign({level:p,method:m,chunkSize:16384,windowBits:15,memLevel:8,strategy:g},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;let n=i.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==h)throw new Error(s[n]);if(t.header&&i.deflateSetHeader(this.strm,t.header),t.dictionary){let e;if(e="string"==typeof t.dictionary?r.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,n=i.deflateSetDictionary(this.strm,e),n!==h)throw new Error(s[n]);this._dict_set=!0}}function E(e,t){const n=new w(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}w.prototype.push=function(e,t){const n=this.strm,o=this.options.chunkSize;let s,a;if(this.ended)return!1;for(a=t===~~t?t:!0===t?_:d,"string"==typeof e?n.input=r.string2buf(e):"[object ArrayBuffer]"===l.call(e)?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;)if(0===n.avail_out&&(n.output=new Uint8Array(o),n.next_out=0,n.avail_out=o),(a===c||a===u)&&n.avail_out<=6)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else{if(s=i.deflate(n,a),s===f)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),s=i.deflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===h;if(0!==n.avail_out){if(a>0&&n.next_out>0)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else if(0===n.avail_in)break}else this.onData(n.output)}return!0},w.prototype.onData=function(e){this.chunks.push(e)},w.prototype.onEnd=function(e){e===h&&(this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},e.exports.Deflate=w,e.exports.deflate=E,e.exports.deflateRaw=function(e,t){return(t=t||{}).raw=!0,E(e,t)},e.exports.gzip=function(e,t){return(t=t||{}).gzip=!0,E(e,t)},e.exports.constants=n(4819)},3744:function(e,t,n){const i=n(8142),o=n(1824),r=n(5695),s=n(2817),a=n(2495),l=n(6153),d=Object.prototype.toString,{Z_NO_FLUSH:c,Z_FINISH:u,Z_OK:_,Z_STREAM_END:h,Z_NEED_DICT:f,Z_STREAM_ERROR:p,Z_DATA_ERROR:g,Z_MEM_ERROR:m}=n(4819);function w(e){this.options=o.assign({chunkSize:65536,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;let n=i.inflateInit2(this.strm,t.windowBits);if(n!==_)throw new Error(s[n]);if(this.header=new l,i.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=r.string2buf(t.dictionary):"[object ArrayBuffer]"===d.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=i.inflateSetDictionary(this.strm,t.dictionary),n!==_)))throw new Error(s[n])}function E(e,t){const n=new w(t);if(n.push(e),n.err)throw n.msg||s[n.err];return n.result}w.prototype.push=function(e,t){const n=this.strm,o=this.options.chunkSize,s=this.options.dictionary;let a,l,w;if(this.ended)return!1;for(l=t===~~t?t:!0===t?u:c,"[object ArrayBuffer]"===d.call(e)?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(0===n.avail_out&&(n.output=new Uint8Array(o),n.next_out=0,n.avail_out=o),a=i.inflate(n,l),a===f&&s&&(a=i.inflateSetDictionary(n,s),a===_?a=i.inflate(n,l):a===g&&(a=f));n.avail_in>0&&a===h&&n.state.wrap>0&&0!==e[n.next_in];)i.inflateReset(n),a=i.inflate(n,l);switch(a){case p:case g:case f:case m:return this.onEnd(a),this.ended=!0,!1}if(w=n.avail_out,n.next_out&&(0===n.avail_out||a===h))if("string"===this.options.to){let e=r.utf8border(n.output,n.next_out),t=n.next_out-e,i=r.buf2string(n.output,e);n.next_out=t,n.avail_out=o-t,t&&n.output.set(n.output.subarray(e,e+t),0),this.onData(i)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(a!==_||0!==w){if(a===h)return a=i.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(0===n.avail_in)break}}return!0},w.prototype.onData=function(e){this.chunks.push(e)},w.prototype.onEnd=function(e){e===_&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},e.exports.Inflate=w,e.exports.inflate=E,e.exports.inflateRaw=function(e,t){return(t=t||{}).raw=!0,E(e,t)},e.exports.ungzip=E,e.exports.constants=n(4819)},1824:function(e){const t=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);e.exports.assign=function(e){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const i=n.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(const n in i)t(i,n)&&(e[n]=i[n])}}return e},e.exports.flattenChunks=e=>{let t=0;for(let n=0,i=e.length;n=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;n[254]=n[254]=1,e.exports.string2buf=e=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);let t,n,i,o,r,s=e.length,a=0;for(o=0;o>>6,t[r++]=128|63&n):n<65536?(t[r++]=224|n>>>12,t[r++]=128|n>>>6&63,t[r++]=128|63&n):(t[r++]=240|n>>>18,t[r++]=128|n>>>12&63,t[r++]=128|n>>>6&63,t[r++]=128|63&n);return t},e.exports.buf2string=(e,i)=>{const o=i||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,i));let r,s;const a=new Array(2*o);for(s=0,r=0;r4)a[s++]=65533,r+=i-1;else{for(t&=2===i?31:3===i?15:7;i>1&&r1?a[s++]=65533:t<65536?a[s++]=t:(t-=65536,a[s++]=55296|t>>10&1023,a[s++]=56320|1023&t)}}return((e,n)=>{if(n<65534&&e.subarray&&t)return String.fromCharCode.apply(null,e.length===n?e:e.subarray(0,n));let i="";for(let t=0;t{(t=t||e.length)>e.length&&(t=e.length);let i=t-1;for(;i>=0&&128==(192&e[i]);)i--;return i<0||0===i?t:i+n[e[i]]>t?i:t}},6904:function(e){e.exports=(e,t,n,i)=>{let o=65535&e,r=e>>>16&65535,s=0;for(;0!==n;){s=n>2e3?2e3:n,n-=s;do{o=o+t[i++]|0,r=r+o|0}while(--s);o%=65521,r%=65521}return o|r<<16}},4819:function(e){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},2506:function(e){const t=new Uint32Array((()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t})());e.exports=(e,n,i,o)=>{const r=t,s=o+i;e^=-1;for(let t=o;t>>8^r[255&(e^n[t])];return-1^e}},6446:function(e,t,n){const{_tr_init:i,_tr_stored_block:o,_tr_flush_block:r,_tr_tally:s,_tr_align:a}=n(9708),l=n(6904),d=n(2506),c=n(2817),{Z_NO_FLUSH:u,Z_PARTIAL_FLUSH:_,Z_FULL_FLUSH:h,Z_FINISH:f,Z_BLOCK:p,Z_OK:g,Z_STREAM_END:m,Z_STREAM_ERROR:w,Z_DATA_ERROR:E,Z_BUF_ERROR:S,Z_DEFAULT_COMPRESSION:O,Z_FILTERED:v,Z_HUFFMAN_ONLY:b,Z_RLE:y,Z_FIXED:C,Z_DEFAULT_STRATEGY:A,Z_UNKNOWN:I,Z_DEFLATED:T}=n(4819),D=258,M=262,k=42,N=113,R=666,L=(e,t)=>(e.msg=c[t],t),P=e=>2*e-(e>4?9:0),U=e=>{let t=e.length;for(;--t>=0;)e[t]=0},x=e=>{let t,n,i,o=e.w_size;t=e.hash_size,i=t;do{n=e.head[--i],e.head[i]=n>=o?n-o:0}while(--t);t=o,i=t;do{n=e.prev[--i],e.prev[i]=n>=o?n-o:0}while(--t)};let B=(e,t,n)=>(t<{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},z=(e,t)=>{r(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,V(e.strm)},j=(e,t)=>{e.pending_buf[e.pending++]=t},H=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},G=(e,t,n,i)=>{let o=e.avail_in;return o>i&&(o=i),0===o?0:(e.avail_in-=o,t.set(e.input.subarray(e.next_in,e.next_in+o),n),1===e.state.wrap?e.adler=l(e.adler,t,o,n):2===e.state.wrap&&(e.adler=d(e.adler,t,o,n)),e.next_in+=o,e.total_in+=o,o)},F=(e,t)=>{let n,i,o=e.max_chain_length,r=e.strstart,s=e.prev_length,a=e.nice_match;const l=e.strstart>e.w_size-M?e.strstart-(e.w_size-M):0,d=e.window,c=e.w_mask,u=e.prev,_=e.strstart+D;let h=d[r+s-1],f=d[r+s];e.prev_length>=e.good_match&&(o>>=2),a>e.lookahead&&(a=e.lookahead);do{if(n=t,d[n+s]===f&&d[n+s-1]===h&&d[n]===d[r]&&d[++n]===d[r+1]){r+=2,n++;do{}while(d[++r]===d[++n]&&d[++r]===d[++n]&&d[++r]===d[++n]&&d[++r]===d[++n]&&d[++r]===d[++n]&&d[++r]===d[++n]&&d[++r]===d[++n]&&d[++r]===d[++n]&&r<_);if(i=D-(_-r),r=_-D,i>s){if(e.match_start=t,s=i,i>=a)break;h=d[r+s-1],f=d[r+s]}}}while((t=u[t&c])>l&&0!==--o);return s<=e.lookahead?s:e.lookahead},W=e=>{const t=e.w_size;let n,i,o;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-M)&&(e.window.set(e.window.subarray(t,t+t-i),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),x(e),i+=t),0===e.strm.avail_in)break;if(n=G(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=B(e,e.ins_h,e.window[o+1]);e.insert&&(e.ins_h=B(e,e.ins_h,e.window[o+3-1]),e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead{let n,i,r,s=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,a=0,l=e.strm.avail_in;do{if(n=65535,r=e.bi_valid+42>>3,e.strm.avail_outi+e.strm.avail_in&&(n=i+e.strm.avail_in),n>r&&(n=r),n>8,e.pending_buf[e.pending-2]=~n,e.pending_buf[e.pending-1]=~n>>8,V(e.strm),i&&(i>n&&(i=n),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+i),e.strm.next_out),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i,e.block_start+=i,n-=i),n&&(G(e.strm,e.strm.output,e.strm.next_out,n),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n)}while(0===a);return l-=e.strm.avail_in,l&&(l>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=l&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-l,e.strm.next_in),e.strstart),e.strstart+=l,e.insert+=l>e.w_size-e.insert?e.w_size-e.insert:l),e.block_start=e.strstart),e.high_waterr&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,r+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),r>e.strm.avail_in&&(r=e.strm.avail_in),r&&(G(e.strm,e.window,e.strstart,r),e.strstart+=r,e.insert+=r>e.w_size-e.insert?e.w_size-e.insert:r),e.high_water>3,r=e.pending_buf_size-r>65535?65535:e.pending_buf_size-r,s=r>e.w_size?e.w_size:r,i=e.strstart-e.block_start,(i>=s||(i||t===f)&&t!==u&&0===e.strm.avail_in&&i<=r)&&(n=i>r?r:i,a=t===f&&0===e.strm.avail_in&&n===i?1:0,o(e,e.block_start,n,a),e.block_start+=n,V(e.strm)),a?3:1)},K=(e,t)=>{let n,i;for(;;){if(e.lookahead=3&&(e.ins_h=B(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-M&&(e.match_length=F(e,n)),e.match_length>=3)if(i=s(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=B(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=B(e,e.ins_h,e.window[e.strstart+1]);else i=s(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(z(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,t===f?(z(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(z(e,!1),0===e.strm.avail_out)?1:2},Z=(e,t)=>{let n,i,o;for(;;){if(e.lookahead=3&&(e.ins_h=B(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-3,i=s(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=B(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,i&&(z(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if(i=s(e,0,e.window[e.strstart-1]),i&&z(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=s(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===f?(z(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(z(e,!1),0===e.strm.avail_out)?1:2};function J(e,t,n,i,o){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=o}const $=[new J(0,0,0,0,Y),new J(4,4,8,4,K),new J(4,5,16,8,K),new J(4,6,32,32,K),new J(4,4,16,16,Z),new J(8,16,32,32,Z),new J(8,16,128,128,Z),new J(8,32,128,256,Z),new J(32,128,258,1024,Z),new J(32,258,258,4096,Z)];function X(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=T,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),U(this.dyn_ltree),U(this.dyn_dtree),U(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),U(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),U(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const q=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==k&&57!==t.status&&69!==t.status&&73!==t.status&&91!==t.status&&103!==t.status&&t.status!==N&&t.status!==R?1:0},Q=e=>{if(q(e))return L(e,w);e.total_in=e.total_out=0,e.data_type=I;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?k:N,e.adler=2===t.wrap?0:1,t.last_flush=-2,i(t),g},ee=e=>{const t=Q(e);var n;return t===g&&((n=e.state).window_size=2*n.w_size,U(n.head),n.max_lazy_match=$[n.level].max_lazy,n.good_match=$[n.level].good_length,n.nice_match=$[n.level].nice_length,n.max_chain_length=$[n.level].max_chain,n.strstart=0,n.block_start=0,n.lookahead=0,n.insert=0,n.match_length=n.prev_length=2,n.match_available=0,n.ins_h=0),t},te=(e,t,n,i,o,r)=>{if(!e)return w;let s=1;if(t===O&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),o<1||o>9||n!==T||i<8||i>15||t<0||t>9||r<0||r>C||8===i&&1!==s)return L(e,w);8===i&&(i=9);const a=new X;return e.state=a,a.strm=e,a.status=k,a.wrap=s,a.gzhead=null,a.w_bits=i,a.w_size=1<te(e,t,T,15,8,A),e.exports.deflateInit2=te,e.exports.deflateReset=ee,e.exports.deflateResetKeep=Q,e.exports.deflateSetHeader=(e,t)=>q(e)||2!==e.state.wrap?w:(e.state.gzhead=t,g),e.exports.deflate=(e,t)=>{if(q(e)||t>p||t<0)return e?L(e,w):w;const n=e.state;if(!e.output||0!==e.avail_in&&!e.input||n.status===R&&t!==f)return L(e,0===e.avail_out?S:w);const i=n.last_flush;if(n.last_flush=t,0!==n.pending){if(V(e),0===e.avail_out)return n.last_flush=-1,g}else if(0===e.avail_in&&P(t)<=P(i)&&t!==f)return L(e,S);if(n.status===R&&0!==e.avail_in)return L(e,S);if(n.status===k&&0===n.wrap&&(n.status=N),n.status===k){let t=T+(n.w_bits-8<<4)<<8,i=-1;if(i=n.strategy>=b||n.level<2?0:n.level<6?1:6===n.level?2:3,t|=i<<6,0!==n.strstart&&(t|=32),t+=31-t%31,H(n,t),0!==n.strstart&&(H(n,e.adler>>>16),H(n,65535&e.adler)),e.adler=1,n.status=N,V(e),0!==n.pending)return n.last_flush=-1,g}if(57===n.status)if(e.adler=0,j(n,31),j(n,139),j(n,8),n.gzhead)j(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),j(n,255&n.gzhead.time),j(n,n.gzhead.time>>8&255),j(n,n.gzhead.time>>16&255),j(n,n.gzhead.time>>24&255),j(n,9===n.level?2:n.strategy>=b||n.level<2?4:0),j(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(j(n,255&n.gzhead.extra.length),j(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=d(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69;else if(j(n,0),j(n,0),j(n,0),j(n,0),j(n,0),j(n,9===n.level?2:n.strategy>=b||n.level<2?4:0),j(n,3),n.status=N,V(e),0!==n.pending)return n.last_flush=-1,g;if(69===n.status){if(n.gzhead.extra){let t=n.pending,i=(65535&n.gzhead.extra.length)-n.gzindex;for(;n.pending+i>n.pending_buf_size;){let o=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+o),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>t&&(e.adler=d(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex+=o,V(e),0!==n.pending)return n.last_flush=-1,g;t=0,i-=o}let o=new Uint8Array(n.gzhead.extra);n.pending_buf.set(o.subarray(n.gzindex,n.gzindex+i),n.pending),n.pending+=i,n.gzhead.hcrc&&n.pending>t&&(e.adler=d(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex=0}n.status=73}if(73===n.status){if(n.gzhead.name){let t,i=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>i&&(e.adler=d(e.adler,n.pending_buf,n.pending-i,i)),V(e),0!==n.pending)return n.last_flush=-1,g;i=0}t=n.gzindexi&&(e.adler=d(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex=0}n.status=91}if(91===n.status){if(n.gzhead.comment){let t,i=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>i&&(e.adler=d(e.adler,n.pending_buf,n.pending-i,i)),V(e),0!==n.pending)return n.last_flush=-1,g;i=0}t=n.gzindexi&&(e.adler=d(e.adler,n.pending_buf,n.pending-i,i))}n.status=103}if(103===n.status){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(V(e),0!==n.pending))return n.last_flush=-1,g;j(n,255&e.adler),j(n,e.adler>>8&255),e.adler=0}if(n.status=N,V(e),0!==n.pending)return n.last_flush=-1,g}if(0!==e.avail_in||0!==n.lookahead||t!==u&&n.status!==R){let i=0===n.level?Y(n,t):n.strategy===b?((e,t)=>{let n;for(;;){if(0===e.lookahead&&(W(e),0===e.lookahead)){if(t===u)return 1;break}if(e.match_length=0,n=s(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(z(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===f?(z(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(z(e,!1),0===e.strm.avail_out)?1:2})(n,t):n.strategy===y?((e,t)=>{let n,i,o,r;const a=e.window;for(;;){if(e.lookahead<=D){if(W(e),e.lookahead<=D&&t===u)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(o=e.strstart-1,i=a[o],i===a[++o]&&i===a[++o]&&i===a[++o])){r=e.strstart+D;do{}while(i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&oe.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=s(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=s(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(z(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===f?(z(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(z(e,!1),0===e.strm.avail_out)?1:2})(n,t):$[n.level].func(n,t);if(3!==i&&4!==i||(n.status=R),1===i||3===i)return 0===e.avail_out&&(n.last_flush=-1),g;if(2===i&&(t===_?a(n):t!==p&&(o(n,0,0,!1),t===h&&(U(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),V(e),0===e.avail_out))return n.last_flush=-1,g}return t!==f?g:n.wrap<=0?m:(2===n.wrap?(j(n,255&e.adler),j(n,e.adler>>8&255),j(n,e.adler>>16&255),j(n,e.adler>>24&255),j(n,255&e.total_in),j(n,e.total_in>>8&255),j(n,e.total_in>>16&255),j(n,e.total_in>>24&255)):(H(n,e.adler>>>16),H(n,65535&e.adler)),V(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?g:m)},e.exports.deflateEnd=e=>{if(q(e))return w;const t=e.state.status;return e.state=null,t===N?L(e,E):g},e.exports.deflateSetDictionary=(e,t)=>{let n=t.length;if(q(e))return w;const i=e.state,o=i.wrap;if(2===o||1===o&&i.status!==k||i.lookahead)return w;if(1===o&&(e.adler=l(e.adler,t,n,0)),i.wrap=0,n>=i.w_size){0===o&&(U(i.head),i.strstart=0,i.block_start=0,i.insert=0);let e=new Uint8Array(i.w_size);e.set(t.subarray(n-i.w_size,n),0),t=e,n=i.w_size}const r=e.avail_in,s=e.next_in,a=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,W(i);i.lookahead>=3;){let e=i.strstart,t=i.lookahead-2;do{i.ins_h=B(i,i.ins_h,i.window[e+3-1]),i.prev[e&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=e,e++}while(--t);i.strstart=e,i.lookahead=2,W(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,e.next_in=s,e.input=a,e.avail_in=r,i.wrap=o,g},e.exports.deflateInfo="pako deflate (from Nodeca project)"},6153:function(e){e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},2128:function(e){const t=16209;e.exports=function(e,n){let i,o,r,s,a,l,d,c,u,_,h,f,p,g,m,w,E,S,O,v,b,y,C,A;const I=e.state;i=e.next_in,C=e.input,o=i+(e.avail_in-5),r=e.next_out,A=e.output,s=r-(n-e.avail_out),a=r+(e.avail_out-257),l=I.dmax,d=I.wsize,c=I.whave,u=I.wnext,_=I.window,h=I.hold,f=I.bits,p=I.lencode,g=I.distcode,m=(1<>>24,h>>>=S,f-=S,S=E>>>16&255,0===S)A[r++]=65535&E;else{if(!(16&S)){if(64&S){if(32&S){I.mode=16191;break e}e.msg="invalid literal/length code",I.mode=t;break e}E=p[(65535&E)+(h&(1<>>=S,f-=S),f<15&&(h+=C[i++]<>>24,h>>>=S,f-=S,S=E>>>16&255,16&S){if(v=65535&E,S&=15,fl){e.msg="invalid distance too far back",I.mode=t;break e}if(h>>>=S,f-=S,S=r-s,v>S){if(S=v-S,S>c&&I.sane){e.msg="invalid distance too far back",I.mode=t;break e}if(b=0,y=_,0===u){if(b+=d-S,S2;)A[r++]=y[b++],A[r++]=y[b++],A[r++]=y[b++],O-=3;O&&(A[r++]=y[b++],O>1&&(A[r++]=y[b++]))}else{b=r-v;do{A[r++]=A[b++],A[r++]=A[b++],A[r++]=A[b++],O-=3}while(O>2);O&&(A[r++]=A[b++],O>1&&(A[r++]=A[b++]))}break}if(64&S){e.msg="invalid distance code",I.mode=t;break e}E=g[(65535&E)+(h&(1<>3,i-=O,f-=O<<3,h&=(1<(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24);function D(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const M=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.mode16211?1:0},k=e=>{if(M(e))return h;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=w,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,c},N=e=>{if(M(e))return h;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,k(e)},R=(e,t)=>{let n;if(M(e))return h;const i=e.state;return t<0?(n=0,t=-t):(n=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?h:(null!==i.window&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,N(e))},L=(e,t)=>{if(!e)return h;const n=new D;e.state=n,n.strm=e,n.window=null,n.mode=w;const i=R(e,t);return i!==c&&(e.state=null),i};let P,U,x=!0;const B=e=>{if(x){P=new Int32Array(512),U=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(1,e.lens,0,288,P,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,U,0,e.work,{bits:5}),x=!1}e.lencode=P,e.lenbits=9,e.distcode=U,e.distbits=5},V=(e,t,n,i)=>{let o;const r=e.state;return null===r.window&&(r.wsize=1<=r.wsize?(r.window.set(t.subarray(n-r.wsize,n),0),r.wnext=0,r.whave=r.wsize):(o=r.wsize-r.wnext,o>i&&(o=i),r.window.set(t.subarray(n-i,n-i+o),r.wnext),(i-=o)?(r.window.set(t.subarray(n-i,n),0),r.wnext=i,r.whave=r.wsize):(r.wnext+=o,r.wnext===r.wsize&&(r.wnext=0),r.whaveL(e,15),e.exports.inflateInit2=L,e.exports.inflate=(e,t)=>{let n,D,k,N,R,L,P,U,x,z,j,H,G,F,W,Y,K,Z,J,$,X,q,Q=0;const ee=new Uint8Array(4);let te,ne;const ie=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(M(e)||!e.output||!e.input&&0!==e.avail_in)return h;n=e.state,n.mode===S&&(n.mode=O),R=e.next_out,k=e.output,P=e.avail_out,N=e.next_in,D=e.input,L=e.avail_in,U=n.hold,x=n.bits,z=L,j=P,q=c;e:for(;;)switch(n.mode){case w:if(0===n.wrap){n.mode=O;break}for(;x<16;){if(0===L)break e;L--,U+=D[N++]<>>8&255,n.check=o(n.check,ee,2,0),U=0,x=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&U)<<8)+(U>>8))%31){e.msg="incorrect header check",n.mode=A;break}if((15&U)!==m){e.msg="unknown compression method",n.mode=A;break}if(U>>>=4,x-=4,X=8+(15&U),0===n.wbits&&(n.wbits=X),X>15||X>n.wbits){e.msg="invalid window size",n.mode=A;break}n.dmax=1<>8&1),512&n.flags&&4&n.wrap&&(ee[0]=255&U,ee[1]=U>>>8&255,n.check=o(n.check,ee,2,0)),U=0,x=0,n.mode=16182;case 16182:for(;x<32;){if(0===L)break e;L--,U+=D[N++]<>>8&255,ee[2]=U>>>16&255,ee[3]=U>>>24&255,n.check=o(n.check,ee,4,0)),U=0,x=0,n.mode=16183;case 16183:for(;x<16;){if(0===L)break e;L--,U+=D[N++]<>8),512&n.flags&&4&n.wrap&&(ee[0]=255&U,ee[1]=U>>>8&255,n.check=o(n.check,ee,2,0)),U=0,x=0,n.mode=16184;case 16184:if(1024&n.flags){for(;x<16;){if(0===L)break e;L--,U+=D[N++]<>>8&255,n.check=o(n.check,ee,2,0)),U=0,x=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&n.flags&&(H=n.length,H>L&&(H=L),H&&(n.head&&(X=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(D.subarray(N,N+H),X)),512&n.flags&&4&n.wrap&&(n.check=o(n.check,D,H,N)),L-=H,N+=H,n.length-=H),n.length))break e;n.length=0,n.mode=16186;case 16186:if(2048&n.flags){if(0===L)break e;H=0;do{X=D[N+H++],n.head&&X&&n.length<65536&&(n.head.name+=String.fromCharCode(X))}while(X&&H>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=S;break;case 16189:for(;x<32;){if(0===L)break e;L--,U+=D[N++]<>>=7&x,x-=7&x,n.mode=C;break}for(;x<3;){if(0===L)break e;L--,U+=D[N++]<>>=1,x-=1,3&U){case 0:n.mode=16193;break;case 1:if(B(n),n.mode=b,t===d){U>>>=2,x-=2;break e}break;case 2:n.mode=16196;break;case 3:e.msg="invalid block type",n.mode=A}U>>>=2,x-=2;break;case 16193:for(U>>>=7&x,x-=7&x;x<32;){if(0===L)break e;L--,U+=D[N++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=A;break}if(n.length=65535&U,U=0,x=0,n.mode=v,t===d)break e;case v:n.mode=16195;case 16195:if(H=n.length,H){if(H>L&&(H=L),H>P&&(H=P),0===H)break e;k.set(D.subarray(N,N+H),R),L-=H,N+=H,P-=H,R+=H,n.length-=H;break}n.mode=S;break;case 16196:for(;x<14;){if(0===L)break e;L--,U+=D[N++]<>>=5,x-=5,n.ndist=1+(31&U),U>>>=5,x-=5,n.ncode=4+(15&U),U>>>=4,x-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=A;break}n.have=0,n.mode=16197;case 16197:for(;n.have>>=3,x-=3}for(;n.have<19;)n.lens[ie[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,te={bits:n.lenbits},q=s(0,n.lens,0,19,n.lencode,0,n.work,te),n.lenbits=te.bits,q){e.msg="invalid code lengths set",n.mode=A;break}n.have=0,n.mode=16198;case 16198:for(;n.have>>24,Y=Q>>>16&255,K=65535&Q,!(W<=x);){if(0===L)break e;L--,U+=D[N++]<>>=W,x-=W,n.lens[n.have++]=K;else{if(16===K){for(ne=W+2;x>>=W,x-=W,0===n.have){e.msg="invalid bit length repeat",n.mode=A;break}X=n.lens[n.have-1],H=3+(3&U),U>>>=2,x-=2}else if(17===K){for(ne=W+3;x>>=W,x-=W,X=0,H=3+(7&U),U>>>=3,x-=3}else{for(ne=W+7;x>>=W,x-=W,X=0,H=11+(127&U),U>>>=7,x-=7}if(n.have+H>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=A;break}for(;H--;)n.lens[n.have++]=X}}if(n.mode===A)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=A;break}if(n.lenbits=9,te={bits:n.lenbits},q=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,te),n.lenbits=te.bits,q){e.msg="invalid literal/lengths set",n.mode=A;break}if(n.distbits=6,n.distcode=n.distdyn,te={bits:n.distbits},q=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,te),n.distbits=te.bits,q){e.msg="invalid distances set",n.mode=A;break}if(n.mode=b,t===d)break e;case b:n.mode=y;case y:if(L>=6&&P>=258){e.next_out=R,e.avail_out=P,e.next_in=N,e.avail_in=L,n.hold=U,n.bits=x,r(e,j),R=e.next_out,k=e.output,P=e.avail_out,N=e.next_in,D=e.input,L=e.avail_in,U=n.hold,x=n.bits,n.mode===S&&(n.back=-1);break}for(n.back=0;Q=n.lencode[U&(1<>>24,Y=Q>>>16&255,K=65535&Q,!(W<=x);){if(0===L)break e;L--,U+=D[N++]<>Z)],W=Q>>>24,Y=Q>>>16&255,K=65535&Q,!(Z+W<=x);){if(0===L)break e;L--,U+=D[N++]<>>=Z,x-=Z,n.back+=Z}if(U>>>=W,x-=W,n.back+=W,n.length=K,0===Y){n.mode=16205;break}if(32&Y){n.back=-1,n.mode=S;break}if(64&Y){e.msg="invalid literal/length code",n.mode=A;break}n.extra=15&Y,n.mode=16201;case 16201:if(n.extra){for(ne=n.extra;x>>=n.extra,x-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;Q=n.distcode[U&(1<>>24,Y=Q>>>16&255,K=65535&Q,!(W<=x);){if(0===L)break e;L--,U+=D[N++]<>Z)],W=Q>>>24,Y=Q>>>16&255,K=65535&Q,!(Z+W<=x);){if(0===L)break e;L--,U+=D[N++]<>>=Z,x-=Z,n.back+=Z}if(U>>>=W,x-=W,n.back+=W,64&Y){e.msg="invalid distance code",n.mode=A;break}n.offset=K,n.extra=15&Y,n.mode=16203;case 16203:if(n.extra){for(ne=n.extra;x>>=n.extra,x-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=A;break}n.mode=16204;case 16204:if(0===P)break e;if(H=j-P,n.offset>H){if(H=n.offset-H,H>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=A;break}H>n.wnext?(H-=n.wnext,G=n.wsize-H):G=n.wnext-H,H>n.length&&(H=n.length),F=n.window}else F=k,G=R-n.offset,H=n.length;H>P&&(H=P),P-=H,n.length-=H;do{k[R++]=F[G++]}while(--H);0===n.length&&(n.mode=y);break;case 16205:if(0===P)break e;k[R++]=n.length,P--,n.mode=y;break;case C:if(n.wrap){for(;x<32;){if(0===L)break e;L--,U|=D[N++]<{if(M(e))return h;let t=e.state;return t.window&&(t.window=null),e.state=null,c},e.exports.inflateGetHeader=(e,t)=>{if(M(e))return h;const n=e.state;return 2&n.wrap?(n.head=t,t.done=!1,c):h},e.exports.inflateSetDictionary=(e,t)=>{const n=t.length;let o,r,s;return M(e)?h:(o=e.state,0!==o.wrap&&o.mode!==E?h:o.mode===E&&(r=1,r=i(r,t,n,0),r!==o.check)?f:(s=V(e,t,n,n),s?(o.mode=I,p):(o.havedict=1,c)))},e.exports.inflateInfo="pako inflate (from Nodeca project)"},9673:function(e){const t=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),n=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),i=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),o=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);e.exports=(e,r,s,a,l,d,c,u)=>{const _=u.bits;let h,f,p,g,m,w,E=0,S=0,O=0,v=0,b=0,y=0,C=0,A=0,I=0,T=0,D=null;const M=new Uint16Array(16),k=new Uint16Array(16);let N,R,L,P=null;for(E=0;E<=15;E++)M[E]=0;for(S=0;S=1&&0===M[v];v--);if(b>v&&(b=v),0===v)return l[d++]=20971520,l[d++]=20971520,u.bits=1,0;for(O=1;O0&&(0===e||1!==v))return-1;for(k[1]=0,E=1;E<15;E++)k[E+1]=k[E]+M[E];for(S=0;S852||2===e&&I>592)return 1;for(;;){N=E-C,c[S]+1=w?(R=P[c[S]-w],L=D[c[S]-w]):(R=96,L=0),h=1<>C)+f]=N<<24|R<<16|L}while(0!==f);for(h=1<>=1;if(0!==h?(T&=h-1,T+=h):T=0,S++,0===--M[E]){if(E===v)break;E=r[s+c[S]]}if(E>b&&(T&g)!==p){for(0===C&&(C=b),m+=O,y=E-C,A=1<852||2===e&&I>592)return 1;p=T&g,l[p]=b<<24|y<<16|m-d}}return 0!==T&&(l[m+T]=E-C<<24|64<<16),u.bits=b,0}},2817:function(e){e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},9708:function(e){function t(e){let t=e.length;for(;--t>=0;)e[t]=0}const n=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),i=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),o=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),r=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const a=new Array(60);t(a);const l=new Array(512);t(l);const d=new Array(256);t(d);const c=new Array(29);t(c);const u=new Array(30);function _(e,t,n,i,o){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=o,this.has_stree=e&&e.length}let h,f,p;function g(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}t(u);const m=e=>e<256?l[e]:l[256+(e>>>7)],w=(e,t)=>{e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},E=(e,t,n)=>{e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<{E(e,n[2*t],n[2*t+1])},O=(e,t)=>{let n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},v=(e,t,n)=>{const i=new Array(16);let o,r,s=0;for(o=1;o<=15;o++)s=s+n[o-1]<<1,i[o]=s;for(r=0;r<=t;r++){let t=e[2*r+1];0!==t&&(e[2*r]=O(i[t]++,t))}},b=e=>{let t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},y=e=>{e.bi_valid>8?w(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},C=(e,t,n,i)=>{const o=2*t,r=2*n;return e[o]{const i=e.heap[n];let o=n<<1;for(;o<=e.heap_len&&(o{let r,s,a,l,_=0;if(0!==e.sym_next)do{r=255&e.pending_buf[e.sym_buf+_++],r+=(255&e.pending_buf[e.sym_buf+_++])<<8,s=e.pending_buf[e.sym_buf+_++],0===r?S(e,s,t):(a=d[s],S(e,a+256+1,t),l=n[a],0!==l&&(s-=c[a],E(e,s,l)),r--,a=m(r),S(e,a,o),l=i[a],0!==l&&(r-=u[a],E(e,r,l)))}while(_{const n=t.dyn_tree,i=t.stat_desc.static_tree,o=t.stat_desc.has_stree,r=t.stat_desc.elems;let s,a,l,d=-1;for(e.heap_len=0,e.heap_max=573,s=0;s>1;s>=1;s--)A(e,n,s);l=r;do{s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],A(e,n,1),a=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=a,n[2*l]=n[2*s]+n[2*a],e.depth[l]=(e.depth[s]>=e.depth[a]?e.depth[s]:e.depth[a])+1,n[2*s+1]=n[2*a+1]=l,e.heap[1]=l++,A(e,n,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],((e,t)=>{const n=t.dyn_tree,i=t.max_code,o=t.stat_desc.static_tree,r=t.stat_desc.has_stree,s=t.stat_desc.extra_bits,a=t.stat_desc.extra_base,l=t.stat_desc.max_length;let d,c,u,_,h,f,p=0;for(_=0;_<=15;_++)e.bl_count[_]=0;for(n[2*e.heap[e.heap_max]+1]=0,d=e.heap_max+1;d<573;d++)c=e.heap[d],_=n[2*n[2*c+1]+1]+1,_>l&&(_=l,p++),n[2*c+1]=_,c>i||(e.bl_count[_]++,h=0,c>=a&&(h=s[c-a]),f=n[2*c],e.opt_len+=f*(_+h),r&&(e.static_len+=f*(o[2*c+1]+h)));if(0!==p){do{for(_=l-1;0===e.bl_count[_];)_--;e.bl_count[_]--,e.bl_count[_+1]+=2,e.bl_count[l]--,p-=2}while(p>0);for(_=l;0!==_;_--)for(c=e.bl_count[_];0!==c;)u=e.heap[--d],u>i||(n[2*u+1]!==_&&(e.opt_len+=(_-n[2*u+1])*n[2*u],n[2*u+1]=_),c--)}})(e,t),v(n,d,e.bl_count)},D=(e,t,n)=>{let i,o,r=-1,s=t[1],a=0,l=7,d=4;for(0===s&&(l=138,d=3),t[2*(n+1)+1]=65535,i=0;i<=n;i++)o=s,s=t[2*(i+1)+1],++a{let i,o,r=-1,s=t[1],a=0,l=7,d=4;for(0===s&&(l=138,d=3),i=0;i<=n;i++)if(o=s,s=t[2*(i+1)+1],!(++a{E(e,0+(i?1:0),3),y(e),w(e,n),w(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n};e.exports._tr_init=e=>{k||((()=>{let e,t,r,g,m;const w=new Array(16);for(r=0,g=0;g<28;g++)for(c[g]=r,e=0;e<1<>=7;g<30;g++)for(u[g]=m<<7,e=0;e<1<{let o,l,d=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=(e=>{let t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0})(e)),T(e,e.l_desc),T(e,e.d_desc),d=(e=>{let t;for(D(e,e.dyn_ltree,e.l_desc.max_code),D(e,e.dyn_dtree,e.d_desc.max_code),T(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*r[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t})(e),o=e.opt_len+3+7>>>3,l=e.static_len+3+7>>>3,l<=o&&(o=l)):o=l=n+5,n+4<=o&&-1!==t?N(e,t,n,i):4===e.strategy||l===o?(E(e,2+(i?1:0),3),I(e,s,a)):(E(e,4+(i?1:0),3),((e,t,n,i)=>{let o;for(E(e,t-257,5),E(e,n-1,5),E(e,i-4,4),o=0;o(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(d[n]+256+1)]++,e.dyn_dtree[2*m(t)]++),e.sym_next===e.sym_end),e.exports._tr_align=e=>{E(e,2,3),S(e,256,s),(e=>{16===e.bi_valid?(w(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)})(e)}},2495:function(e){e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},1708:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CATEGORY_KEYS=t.DataProtectionLaws=t.IFRAME_ID=t.API_EVENT_NAMES=t.EVENT_CMP_CLICK=t.DEFAULT_OF_SITE=t.CHOSEN_BY_USER=t.FORCED_BY_SITE=void 0,t.FORCED_BY_SITE=60,t.CHOSEN_BY_USER=40,t.DEFAULT_OF_SITE=20,t.EVENT_CMP_CLICK="cmp:click",t.API_EVENT_NAMES={EVENT_CMP_SAVE:"cmp:save",EVENT_RENDERED:"cmpWidget:rendered",EVENT_LIST_OPENED:"cmpWidget:listOpened",EVENT_LIST_CLOSE:"cmpWidget:listClosed",EVENT_DIALOG_OPENED:"cmpWidget:dialogOpened",EVENT_DIALOG_ACCEPTED:"cmpWidget:dialogAccepted",EVENT_DIALOG_DENIED:"cmpWidget:dialogDenied",EVENT_DIALOG_CLOSED:"cmpWidget:dialogClosed",EVENT_OPT_OUT_LINK_CLICKED:"cmpWidget:optOutLinkClicked",EVENT_CONSENT_STATUS:"cmpWidget:consentStatus",EVENT_CSP_INSERTED:"cmpWidget:cspInserted",EVENT_THIRD_PARTY_READY:"cmpWidget:thirdPartyReady"},t.IFRAME_ID="__webtru_cmp_storage_iframe__",t.DataProtectionLaws={NONE:"NONE",GDPR:"GDPR",PDPA:"PDPA",CPRA:"CPRA"},t.CATEGORY_KEYS={ADVERTISING:"ADVERTISING",ANALYTICS:"ANALYTICS",DATA_AGGREGATION:"DATA_AGGREGATION",FUNCTIONAL_SUPPORT:"FUNCTIONAL_SUPPORT",SECURITY:"SECURITY",SOCIAL_PLUGIN:"SOCIAL_PLUGIN",PERSONALIZATION:"PERSONALIZATION"}},6787:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o{const i=new a(this.whereDefaultMustBeBlock),[o,r]=n;t[o]=i.getCurrentStatus({doesUserConsent:null,serviceOrUnknown:r,mustAdvertisingBeBlocked:e.mustAdvertisingBeBlocked})}),t}update(e){const t=e.oldUserConfiguration.services,n=this.cmpJsEmbeddedCspObject.services,i={services:this.updateConfiguration({configuration:t,newDefinitions:n,mustAdvertisingBeBlocked:e.mustAdvertisingBeBlocked})};this.saveStorage(i)}saveStorage(e){const t=this.cmpJsEmbeddedCspObject,{services:n,unknownSources:o}=t,a=i(t,["services","unknownSources"]),l=Object.assign({},a),d=Object.assign(l,{userConfiguration:e});new r.Storage(this.hash).write((0,s.toStorageData)(d))}generateSourceList(e){const t=(()=>{const t=e.storageCspObject,n=this.cmpJsEmbeddedCspObject,i=t.userConfiguration,o=l(i.services,n.services),r=u(n.unknownSources),s=_(t.inspectedDomains);return o.concat(r,s)})(),n=(()=>{if(!e.isGtmConsentMode)return[];const t=this.cmpJsEmbeddedCspObject;return d(t.services)})(),i=(()=>{if(!e.isClarityConsentMode)return[];const t=this.cmpJsEmbeddedCspObject;return c(t.services)})();return t.concat(n,i)}updateConfiguration(e){const t={};return Object.entries(e.newDefinitions).forEach(n=>{const[i,o]=n,r=e.configuration?e.configuration[i]:null,s=new a(this.whereDefaultMustBeBlock);t[i]=s.getNewStatus({oldPermissionStatus:r,newDefinition:o,mustAdvertisingBeBlocked:e.mustAdvertisingBeBlocked})}),t}getServices(){return this.cmpJsEmbeddedCspObject.services}};const l=(e,t)=>{const n=(0,s.filterObject)(t,t=>e[t].permitted);return Object.values(n).flatMap(e=>e.sources)},d=e=>{const t=(0,s.filterObject)(e,t=>Boolean(e[t].supportedGtmConsentMode));return Object.values(t).flatMap(e=>e.sources)},c=e=>{const t=(0,s.filterObject)(e,t=>Boolean(e[t].supportedClarityConsentMode));return Object.values(t).flatMap(e=>e.sources)},u=e=>{const t=(0,s.filterObject)(e,t=>e[t].permittedBySite);return Object.keys(t)},_=(e=[])=>e;t.excludeWebsocketProtocol=e=>e.filter(e=>!["ws:","wss:"].includes(e))},2045:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.isKnownRequest=t.reportUnknownViolation=void 0;const i=n(5773),o=e=>{const t=e.reportBody.toJSON(),n=((e,t,n)=>{const i={blocked_uri:null==t?void 0:t.blockedURL,disposition:null==t?void 0:t.disposition,document_uri:null==t?void 0:t.documentURL,effective_directive:null==t?void 0:t.effectiveDirective,original_policy:null==t?void 0:t.originalPolicy,referrer:null==t?void 0:t.referrer,status_code:null==t?void 0:t.statusCode,line_number:null==t?void 0:t.lineNumber,column_number:null==t?void 0:t.columnNumber,source_file:null==t?void 0:t.sourceFile,sample:null==t?void 0:t.sample};for(const e of Object.keys(i))void 0===i[e]&&delete i[e];return{csp_report:i,hash:e,timestamp:n}})(e.hash,t,e.timestamp);fetch(e.reportUrl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})};function r(){const e=new Date;return Math.floor(e.getTime()/1e3)}t.reportUnknownViolation=(e,n,i)=>{if(i.enable)try{new ReportingObserver(((e,n,i)=>{const s=new Set;return(a,l)=>{try{for(const l of a){const a=l.body;if(a.blockedURL){const l=new URL(a.blockedURL).hostname;(0,t.isKnownRequest)(a.blockedURL,e)||s.has(l)||(o({reportBody:a,reportUrl:n,hash:i,timestamp:r()}),s.add(l))}}}catch(e){}}})(e,i.reportUrl,n),{types:["csp-violation"],buffered:!0}).observe()}catch(e){}},t.isKnownRequest=(e,t)=>{const n=new URL(e);return t.some(e=>(e=>{const[t,o,r]=(e=>{let t;return(0,i.URLCanParse)(e)?(t=new URL(e),[t.protocol,decodeURIComponent(t.hostname),t.pathname]):(t=e.startsWith("//")?new URL("https:"+e):new URL("https://"+e),[void 0,decodeURIComponent(t.hostname),t.pathname])})(e);return(void 0===(l=t)||n.protocol===l)&&((a=o).startsWith("*.")?n.hostname.endsWith(a.substring(1)):n.hostname===a)&&(s=r,n.pathname.startsWith(s));var s,a,l})(e))}},2865:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getIframeOrNull=void 0,t.getIframeDomain=function(e,t){return`${t}.`+e.host},t.getIframeUrl=o,t.getIframe=function(){const e=(0,t.getIframeOrNull)();if(e)return e;throw new Error(`${i.IFRAME_ID} iframe is not found`)},t.ready=r,t.insertIframe=function(e,t){return new Promise(function(n,s){const a=document.createElement("iframe");a.id=i.IFRAME_ID,a.src=o(e,t),a.style.display="none",a.onload=()=>{n()},r(()=>{const e=document.querySelector("body");e?e.appendChild(a):s(new Error("body is not found"))})})},t.insertPostMessage=function(e,t){window.addEventListener("message",function(n){const i=function(e,t){return e.protocol+`//${t}.`+e.host}(e,t);i===n.origin&&"getReturn"===n.data.action&&(window.cmpConsentStatusPostMessageStorage[n.data.syncStorageKey]=n.data.body)})};const i=n(1708);function o(e,t){return e.protocol+`//${t}.`+e.host+e.pathname}function r(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",()=>{e()})}t.getIframeOrNull=()=>document.getElementById(i.IFRAME_ID)},3858:function(e,t,n){var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.syncIframeToLocal=function(e,t){return i(this,void 0,void 0,function*(){const n=yield(0,s.readIframeSnapshot)(e);if(null===n)return;(0,s.writeLocalSnapshot)(e,n);const i=yield(0,r.iframeGetItem)(o.OPERATION_STATE_KEY).catch(()=>null);i?window.localStorage.setItem(o.OPERATION_STATE_KEY,i):window.localStorage.removeItem(o.OPERATION_STATE_KEY);const l=yield new r.IframeStorage(e).read().catch(()=>null);l?new a.Storage(e).write(l):t()})};const o=n(3715),r=n(4957),s=n(1720),a=n(3448)},1620:function(e,t,n){var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._getNoUiConfig=t._getCmpUiConfig=t.isGcmV2=t._dispatchThirdPartyReady=t.main2=t.prepareWidget=t.getOptionalConfig=t.insertUIScript=t.insertCSPMetaElement=void 0,t.readCurrentScriptSrc=b,t.readCurrentScriptDataset=y,t.insertCspAccordingToDisplayMode=C,t._getMustAdvertisingBeBlocked=A,t.prepare=I;const o=n(1632),r=n(7852),s=n(5649),a=n(8743),l=n(6770),d=n(2489),c=n(6744),u=n(5246),_=n(1708),h=n(6787),f=n(2045),p=n(2865),g=n(3858),m=n(1720),w=n(1563),E=n(5988),S=n(2022),O=n(6674),v=n(2381);function b(){return document.currentScript.src}function y(){return document.currentScript.dataset}function C(e){const n=()=>{(0,t.insertCSPMetaElement)({csp:e.csp,minimumConfig:e.minimumConfig,cspViolationReportConfig:e.cspViolationReportConfig,isGtmConsentMode:e.isGtmConsentMode,isClarityConsentMode:e.isClarityConsentMode,directives:e.minimumConfig.CSP_SETTINGS.directives,cspObjectStored:e.storage.getCspObject()})},i=()=>{(0,f.reportUnknownViolation)(e.csp.allKnownSources(),e.minimumConfig.FOLDER_HASH,e.cspViolationReportConfig)};if(!e.noCSP)switch(e.minimumConfig.DISPLAY_MODE){case"ConsentMode":s.DialogOperation.isUnOperated()&&(0,o.checkAll)({checked:!1,storage:e.storage,services:e.csp.getServices(),isUserAction:!1}),i(),n();break;case"OptOutMode":i(),n()}}function A(){return navigator.globalPrivacyControl||!1}function I(e){const t=new h.CSP(e.config.CSP_JSON_OBJECT,e.whereDefaultMustBeBlock,e.config.FOLDER_HASH);return t.updateOrInitialize({skimmingPreventionMode:e.displayConfig.NO_UI.skimmingPreventionMode,mustAdvertisingBeBlocked:A()}),t}window.cmpConsentStatusPostMessageStorage={},S.WebtruCmpApi.FORCED_BY_SITE=_.FORCED_BY_SITE,S.WebtruCmpApi.CHOSEN_BY_USER=_.CHOSEN_BY_USER,S.WebtruCmpApi.DEFAULT_OF_SITE=_.DEFAULT_OF_SITE,S.WebtruCmpApi.FOLDER_HASH=(0,E.getFolderHash)(),window.WebtruCmpApi=S.WebtruCmpApi,t.insertCSPMetaElement=e=>{const t=window.navigator.userAgent.toLowerCase(),n=document.createElement("meta");-1!=t.indexOf("trident")?n.httpEquiv="X-Content-Security-Policy":n.httpEquiv="Content-Security-Policy";const i=e.csp.generateSourceList({storageCspObject:e.cspObjectStored,isGtmConsentMode:e.isGtmConsentMode,isClarityConsentMode:e.isClarityConsentMode});e.minimumConfig.IFRAME_URL&&i.push((0,p.getIframeDomain)(e.minimumConfig.IFRAME_URL,e.minimumConfig.FOLDER_HASH)),e.cspViolationReportConfig.enable&&i.push(e.cspViolationReportConfig.reportUrl);const o=(...e)=>[...new Set(e.flat())].join(" ");n.content=`default-src ${o(["'self'","data:"],(0,h.excludeWebsocketProtocol)(e.directives),i)};connect-src ${o(["'self'","data:"],e.directives,i)};style-src ${o(["'self'","data:","'unsafe-inline'"],(0,h.excludeWebsocketProtocol)(e.directives),i)};`;const r=document.getElementsByTagName("head")[0];r.insertBefore(n,r.firstChild),document.dispatchEvent(new Event(_.API_EVENT_NAMES.EVENT_CSP_INSERTED)),(0,u.pushCSPInserted)()},t.insertUIScript=e=>{const t=document.createElement("script");t.src=`${e.cmpUiJsUrl}?h=${e.config.FOLDER_HASH}`;const n={folderHash:e.config.FOLDER_HASH,hasMultipleDomains:e.config.HAS_MULTIPLE_DOMAINS.toString(),verticalValue:e.config.VERTICAL_VALUE,desktopVerticalValue:e.config.DESKTOP_VERTICAL_VALUE,horizonValue:e.config.HORIZON_VALUE,desktopHorizonValue:e.config.DESKTOP_HORIZON_VALUE,verticalPosition:e.config.VERTICAL_POSITION,hideIcon:e.config.HIDE_ICON,themeColor:e.config.THEME_COLOR,gtmIntegration:e.config.GTM_INTEGRATION.toString(),clarityIntegration:e.config.CLARITY_INTEGRATION.toString(),displayMode:e.config.DISPLAY_MODE,deniableConsentMode:e.config.DENIABLE_CONSENT_MODE,optOutModeWithoutDialog:e.config.OPT_OUT_MODE_WITHOUT_DIALOG,optOutConfigureAll:e.config.OPT_OUT_CONFIGURE_ALL,i18nIsCustomized:e.config.I18N_IS_CUSTOMIZED,transJsonUrl:e.config.TRANS_JSON_URL,cmpjsScriptSrc:e.currentScriptSrc,applicableLaw:e.applicableLaw,fontSizeInheritBody:JSON.stringify(e.config.FONT_SIZE_INHERIT_BODY),embedDisclosureMode:JSON.stringify(e.config.EMBED_DISCLOSURE_MODE),dialogReopenTimestamp:e.config.DIALOG_REOPEN_TIMESTAMP||"null",dialogFocusTrap:JSON.stringify(e.cmpUiConfig.DIALOG_FOCUS_TRAP),externalServicesJsonUrl:e.cmpUiConfig.EXTERNAL_SERVICES_JSON_URL,isGPC:JSON.stringify(e.config.IS_GPC),showPoweredBy:JSON.stringify(e.config.SHOW_POWERED_BY),customTextRules:JSON.stringify(e.config.CUSTOM_TEXT_RULES)};e.config.PRIVACY_POLICY_URL&&(n.privacyPolicyUrl=e.config.PRIVACY_POLICY_URL),e.config.PRIVACY_POLICY_URLS&&(n.privacyPolicyUrls=e.config.PRIVACY_POLICY_URLS),e.config.LOGO_URL&&(n.logoUrl=e.config.LOGO_URL),e.config.LOGO_ALT&&(n.logoAlt=e.config.LOGO_ALT),e.config.POSITION&&(n.position=e.config.POSITION),e.config.COLOR&&(n.color=e.config.COLOR),e.config.LANG&&(n.lang=e.config.LANG),e.config.CPRA_SETTINGS&&(n.cpraSettings=JSON.stringify(e.config.CPRA_SETTINGS)),Object.assign(t.dataset,n),document.getElementsByTagName("head")[0].appendChild(t)},void 0!==window.WEBTRU_TD_VARIABLES?window.webtruTD=new O.WebtruTD(window.WEBTRU_TD_VARIABLES):void 0!==window.QONSENT_TD_VARIABLES&&(window.webtruTD=new O.WebtruTD(window.QONSENT_TD_VARIABLES)),t.getOptionalConfig=(e,t)=>Object.assign(Object.assign({},(()=>{const t=new URL(e);return Object.fromEntries(Array.from(t.searchParams.entries()).filter(([e])=>e.startsWith("data-")).map(([e,t])=>[(0,E.toCamelCase)(e.replace(/^data-/,"")),t]))})()),Object.assign({},t)),t.prepareWidget=e=>i(void 0,void 0,void 0,function*(){const t=(0,a.openLocalStorageWithFallback)(e.config.FOLDER_HASH);C({csp:e.csp,cspViolationReportConfig:e.cspViolationReportConfig,minimumConfig:e.config,isGtmConsentMode:e.isGtmConsentMode,isClarityConsentMode:e.isClarityConsentMode,noCSP:e.noCSP,storage:t});const n=(0,l.getCmpCategories)(e.csp.getServices()),i=(0,d.getAtLeastOneCheckedMap)(n,t);e.config.GTM_INTEGRATION&&(0,u.syncGtagConsent)({displayMode:e.config.DISPLAY_MODE,initialize:!0,gcmVersion:(0,u.getGcmVersion)(e.currentScriptSrc),atLeastOneCheckedMap:i}),e.config.CLARITY_INTEGRATION&&(0,c.syncClarityConsent)(i),function(){const t=new window.WebtruCmpApi("1.0").getAll(),n=e.csp.getServices(),i=(0,u.getConsentStatuses)(t,n);(0,u.datalayerPush)(Object.assign({event:_.API_EVENT_NAMES.EVENT_CONSENT_STATUS},i))}()}),t.main2=(...e)=>i(void 0,[...e],void 0,function*(e="GLOBAL"){var n,i;const o=b(),r=y(),s=JSON.parse("[{\u0022region\u0022: \u0022GLOBAL\u0022, \u0022display_mode\u0022: \u0022consent\u0022, \u0022whitelist_behavior\u0022: \u0022opt_in\u0022}]"),a=(0,v.transformToWidgetSettings)(e,s),l=T({src:o,dataset:r,widgetSettings:a,isGPC:A()}),d=(0,t._getCmpUiConfig)((0,t.getOptionalConfig)(o,r)),c=I({config:l,displayConfig:d,whereDefaultMustBeBlock:a.whereDefaultMustBeBlock});l.EMBED_DISCLOSURE_MODE||"ConsentMode"!==a.displayMode&&"OptOutMode"!==a.displayMode||(yield(0,t.prepareWidget)({csp:c,config:l,cspViolationReportConfig:D(),mustAdvertisingBeBlocked:A(),currentScriptSrc:o,isGtmConsentMode:l.GTM_INTEGRATION&&(0,t.isGcmV2)(o),isClarityConsentMode:l.CLARITY_INTEGRATION,noCSP:null!==(n=a.noCSP)&&void 0!==n&&n})),(0,t._dispatchThirdPartyReady)(l.GTM_INTEGRATION);let u=!1;if(l.HAS_MULTIPLE_DOMAINS&&l.IFRAME_URL)try{yield(0,p.insertIframe)(l.IFRAME_URL,l.FOLDER_HASH),(0,p.insertPostMessage)(l.IFRAME_URL,l.FOLDER_HASH),u=!0}catch(e){}const h=()=>c.create({mustAdvertisingBeBlocked:A()});u&&(yield(0,g.syncIframeToLocal)(l.FOLDER_HASH,h)),(0,m.applyRegionalDeliveryDiffReset)({hash:l.FOLDER_HASH,currentRule:(0,v.findAppliedRegionalDeliveryRule)(e,s),hasMultipleDomains:u,resetUserConfig:h}),(0,w.shouldHideCmp)({embedDisclosureMode:l.EMBED_DISCLOSURE_MODE,whereShouldHideCmp:a.whereShouldHideCmp,noUiConfig:d.NO_UI})||(0,t.insertUIScript)({cmpUiJsUrl:l.CMP_UI_JS_URL,config:l,currentScriptSrc:o,applicableLaw:null!==(i=a.applicableLaw)&&void 0!==i?i:_.DataProtectionLaws.NONE,cmpUiConfig:d})}),t._dispatchThirdPartyReady=e=>{document.dispatchEvent(new Event(_.API_EVENT_NAMES.EVENT_THIRD_PARTY_READY)),e&&(0,u.pushThirdPartyReady)()},t.isGcmV2=e=>e.includes("gcm=v2");const T=e=>{var n;const i=(0,t.getOptionalConfig)(e.src,e.dataset);return{CMP_UI_JS_URL:"https://static.cmp.datasign.co/v2/assets/cmp_ui.js",CSP_JSON_OBJECT:JSON.parse("{\u000A \u0022specVersion\u0022: \u00220.5\u0022,\u000A \u0022dataSovereigntyStrategy\u0022: {\u000A \u0022localizeDisplay\u0022: false,\u000A \u0022localizeDefaultStates\u0022: false\u000A },\u000A \u0022services\u0022: {\u000A \u00223\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022fonts.google.com\u0022,\u000A \u0022fonts.googleapis.com\u0022,\u000A \u0022fonts.gstatic.com\u0022\u000A ],\u000A \u0022name\u0022: \u0022Google Fonts\u0022,\u000A \u0022nameJa\u0022: \u0022Google Fonts\u0022,\u000A \u0022categoryKey\u0022: \u0022FUNCTIONAL_SUPPORT\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u00224\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022tagmanager.google.com\u0022,\u000A \u0022www.googletagmanager.com/a\u0022,\u000A \u0022www.googletagmanager.com/debug/\u0022,\u000A \u0022www.googletagmanager.com/gtm.js\u0022,\u000A \u0022www.googletagmanager.com/ns.html\u0022,\u000A \u0022www.googletagmanager.com/static/service_worker/\u0022,\u000A \u0022www.googletagmanager.com/td\u0022\u000A ],\u000A \u0022name\u0022: \u0022Google Tag Manager\u0022,\u000A \u0022nameJa\u0022: \u0022Googleタグマネージャ\u0022,\u000A \u0022categoryKey\u0022: \u0022FUNCTIONAL_SUPPORT\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u00225\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022*.analytics.google.com\u0022,\u000A \u0022*.google\u002Danalytics.com\u0022,\u000A \u0022analytics.google.com\u0022,\u000A \u0022google\u002Danalytics.com\u0022,\u000A \u0022stats.g.doubleclick.net\u0022,\u000A \u0022www.google.com\u0022,\u000A \u0022www.google.com/measurement/conversion\u0022,\u000A \u0022www.googletagmanager.com/gtag/\u0022\u000A ],\u000A \u0022name\u0022: \u0022Google Analytics\u0022,\u000A \u0022nameJa\u0022: \u0022Google アナリティクス\u0022,\u000A \u0022categoryKey\u0022: \u0022ANALYTICS\u0022,\u000A \u0022supportedGtmConsentMode\u0022: true,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: true,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u00221091\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022*.cmp\u002Dorigin.datasign.co\u0022,\u000A \u0022*.webtru.io\u0022,\u000A \u0022as.datasign.co\u0022,\u000A \u0022cmp\u002Dorigin.datasign.co\u0022,\u000A \u0022cmp.datasign.co\u0022,\u000A \u0022cmp.webtru.cloud\u002Dcircus.com\u0022,\u000A \u0022csp.datasign.co\u0022,\u000A \u0022fe.datasign.co\u0022,\u000A \u0022log.cmp.datasign.co\u0022,\u000A \u0022static.cmp.datasign.co\u0022,\u000A \u0022webtru.io\u0022\u000A ],\u000A \u0022name\u0022: \u0022webtru\u0022,\u000A \u0022nameJa\u0022: \u0022webtru\u0022,\u000A \u0022categoryKey\u0022: \u0022FUNCTIONAL_SUPPORT\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022configurableByUsers\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u0022969\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022*.googlevideo.com\u0022,\u000A \u0022gdata.youtube.com\u0022,\u000A \u0022googlevideo.com\u0022,\u000A \u0022i.ytimg.com\u0022,\u000A \u0022img.youtube.com\u0022,\u000A \u0022jnn\u002Dpa.googleapis.com\u0022,\u000A \u0022s.youtube.com\u0022,\u000A \u0022s.ytimg.com\u0022,\u000A \u0022www.google.com\u0022,\u000A \u0022www.youtube\u002Dnocookie.com\u0022,\u000A \u0022www.youtube.com\u0022,\u000A \u0022youtube.com\u0022,\u000A \u0022yt3.ggpht.com\u0022\u000A ],\u000A \u0022name\u0022: \u0022YouTube\u0022,\u000A \u0022nameJa\u0022: \u0022YouTube\u0022,\u000A \u0022categoryKey\u0022: \u0022FUNCTIONAL_SUPPORT\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u002211\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022*.privacysandbox.googleadservices.com\u0022,\u000A \u0022adservice.google.co.jp\u0022,\u000A \u0022adservice.google.com\u0022,\u000A \u0022pagead2.googleadservices.com\u0022,\u000A \u0022privacysandbox.googleadservices.com\u0022,\u000A \u0022www.google.ar\u0022,\u000A \u0022www.google.at\u0022,\u000A \u0022www.google.au\u0022,\u000A \u0022www.google.be\u0022,\u000A \u0022www.google.bg\u0022,\u000A \u0022www.google.br\u0022,\u000A \u0022www.google.ca\u0022,\u000A \u0022www.google.ch\u0022,\u000A \u0022www.google.cl\u0022,\u000A \u0022www.google.co\u0022,\u000A \u0022www.google.co.id\u0022,\u000A \u0022www.google.co.il\u0022,\u000A \u0022www.google.co.jp\u0022,\u000A \u0022www.google.co.jp/.well\u002Dknown/private\u002Dclick\u002Dmeasurement/trigger\u002Dattribution/\u0022,\u000A \u0022www.google.co.ke\u0022,\u000A \u0022www.google.co.kr\u0022,\u000A \u0022www.google.co.nz\u0022,\u000A \u0022www.google.co.za\u0022,\u000A \u0022www.google.com\u0022,\u000A \u0022www.google.com.ar\u0022,\u000A \u0022www.google.com.au\u0022,\u000A \u0022www.google.com.br\u0022,\u000A \u0022www.google.com.co\u0022,\u000A \u0022www.google.com.mx\u0022,\u000A \u0022www.google.com.my\u0022,\u000A \u0022www.google.com.ng\u0022,\u000A \u0022www.google.com.pe\u0022,\u000A \u0022www.google.com.ph\u0022,\u000A \u0022www.google.com.sg\u0022,\u000A \u0022www.google.com.tw\u0022,\u000A \u0022www.google.com.ua\u0022,\u000A \u0022www.google.com/.well\u002Dknown/private\u002Dclick\u002Dmeasurement/trigger\u002Dattribution/\u0022,\u000A \u0022www.google.com/rmkt/\u0022,\u000A \u0022www.google.cz\u0022,\u000A \u0022www.google.de\u0022,\u000A \u0022www.google.dk\u0022,\u000A \u0022www.google.es\u0022,\u000A \u0022www.google.fi\u0022,\u000A \u0022www.google.fr\u0022,\u000A \u0022www.google.gr\u0022,\u000A \u0022www.google.hr\u0022,\u000A \u0022www.google.hu\u0022,\u000A \u0022www.google.id\u0022,\u000A \u0022www.google.ie\u0022,\u000A \u0022www.google.il\u0022,\u000A \u0022www.google.it\u0022,\u000A \u0022www.google.ke\u0022,\u000A \u0022www.google.kr\u0022,\u000A \u0022www.google.lt\u0022,\u000A \u0022www.google.lv\u0022,\u000A \u0022www.google.mx\u0022,\u000A \u0022www.google.my\u0022,\u000A \u0022www.google.ng\u0022,\u000A \u0022www.google.nl\u0022,\u000A \u0022www.google.no\u0022,\u000A \u0022www.google.nz\u0022,\u000A \u0022www.google.pe\u0022,\u000A \u0022www.google.ph\u0022,\u000A \u0022www.google.pl\u0022,\u000A \u0022www.google.ro\u0022,\u000A \u0022www.google.rs\u0022,\u000A \u0022www.google.se\u0022,\u000A \u0022www.google.sg\u0022,\u000A \u0022www.google.tw\u0022,\u000A \u0022www.google.ua\u0022,\u000A \u0022www.google.uk\u0022,\u000A \u0022www.google.za\u0022,\u000A \u0022www.googleadservices.com\u0022,\u000A \u0022www.googletagmanager.com/gtag/\u0022\u000A ],\u000A \u0022name\u0022: \u0022Google Ads\u0022,\u000A \u0022nameJa\u0022: \u0022Google広告\u0022,\u000A \u0022categoryKey\u0022: \u0022ADVERTISING\u0022,\u000A \u0022supportedGtmConsentMode\u0022: true,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: true,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u0022983\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022*.safeframe.googlesyndication.com\u0022,\u000A \u0022imasdk.googleapis.com\u0022,\u000A \u0022partner.googleadservices.com\u0022,\u000A \u0022pubads.g.doubleclick.net\u0022,\u000A \u0022safeframe.googlesyndication.com\u0022,\u000A \u0022securepubads.g.doubleclick.net\u0022,\u000A \u0022tpc.googlesyndication.com\u0022,\u000A \u0022www.googletagservices.com\u0022\u000A ],\u000A \u0022name\u0022: \u0022Google Ad Manager\u0022,\u000A \u0022nameJa\u0022: \u0022Google Ad Manager\u0022,\u000A \u0022categoryKey\u0022: \u0022ADVERTISING\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: true,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u0022985\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022clients1.google.com\u0022,\u000A \u0022cse.google.co.jp\u0022,\u000A \u0022cse.google.com\u0022,\u000A \u0022lh3.googleusercontent.com\u0022,\u000A \u0022www.google.co.jp\u0022,\u000A \u0022www.google.com\u0022,\u000A \u0022www.googleapis.com\u0022\u000A ],\u000A \u0022name\u0022: \u0022Google Custom Search Engine\u0022,\u000A \u0022nameJa\u0022: \u0022Google カスタム検索エンジン\u0022,\u000A \u0022categoryKey\u0022: \u0022FUNCTIONAL_SUPPORT\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u0022410\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022*.metric.gstatic.com\u0022,\u000A \u0022encrypted\u002Dtbn0.gstatic.com\u0022,\u000A \u0022encrypted\u002Dtbn1.gstatic.com\u0022,\u000A \u0022encrypted\u002Dtbn2.gstatic.com\u0022,\u000A \u0022encrypted\u002Dtbn3.gstatic.com\u0022,\u000A \u0022metric.gstatic.com\u0022,\u000A \u0022ssl.gstatic.com\u0022,\u000A \u0022t0.gstatic.com\u0022,\u000A \u0022t1.gstatic.com\u0022,\u000A \u0022t2.gstatic.com\u0022,\u000A \u0022t3.gstatic.com\u0022,\u000A \u0022www.gstatic.com\u0022\u000A ],\u000A \u0022name\u0022: \u0022Google Cloud CDN\u0022,\u000A \u0022nameJa\u0022: \u0022Google Cloud CDN\u0022,\u000A \u0022categoryKey\u0022: \u0022FUNCTIONAL_SUPPORT\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u00221947\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022*.clarity.ms\u0022,\u000A \u0022c.bing.com\u0022,\u000A \u0022clarity.ms\u0022\u000A ],\u000A \u0022name\u0022: \u0022Clarity\u0022,\u000A \u0022nameJa\u0022: \u0022Clarity\u0022,\u000A \u0022categoryKey\u0022: \u0022ANALYTICS\u0022,\u000A \u0022supportedGtmConsentMode\u0022: true,\u000A \u0022supportedClarityConsentMode\u0022: true,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: true,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u0022283\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022api.docodoco.jp\u0022,\u000A \u0022v6.docodoco.jp\u0022\u000A ],\u000A \u0022name\u0022: \u0022docodoco JP\u0022,\u000A \u0022nameJa\u0022: \u0022どこどこJP\u0022,\u000A \u0022categoryKey\u0022: \u0022ANALYTICS\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: true,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u00221250\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022ap\u002Dsoutheast\u002D1.dc.ads.linkedin.com\u0022,\u000A \u0022api.adsymptotic.com\u0022,\u000A \u0022cdn.linkedin.oribi.io\u0022,\u000A \u0022dc.ads.linkedin.com\u0022,\u000A \u0022imp2.ads.linkedin.com\u0022,\u000A \u0022p.adsymptotic.com\u0022,\u000A \u0022px.ads.linkedin.com\u0022,\u000A \u0022px4.ads.linkedin.com\u0022,\u000A \u0022snap.licdn.com\u0022,\u000A \u0022www.bizographics.com\u0022,\u000A \u0022www.linkedin.com\u0022\u000A ],\u000A \u0022name\u0022: \u0022LinkedIn Ads\u0022,\u000A \u0022nameJa\u0022: \u0022LinkedIn Ads\u0022,\u000A \u0022categoryKey\u0022: \u0022ADVERTISING\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: true,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u00221002\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022cdn\u002Dimages.mailchimp.com\u0022,\u000A \u0022greenwich.us16.list\u002Dmanage.com\u0022,\u000A \u0022mc.us11.list\u002Dmanage.com\u0022\u000A ],\u000A \u0022name\u0022: \u0022MailChimp\u0022,\u000A \u0022nameJa\u0022: \u0022MailChimp\u0022,\u000A \u0022categoryKey\u0022: \u0022ANALYTICS\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u00221075\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022tracker.shanon\u002Dservices.com\u0022,\u000A \u0022tracker.smartseminar.jp\u0022,\u000A \u0022webwidget.shanon\u002Dservices.com\u0022\u000A ],\u000A \u0022name\u0022: \u0022SHANON MARKETING PLATFORM\u0022,\u000A \u0022nameJa\u0022: \u0022SHANON MARKETING PLATFORM\u0022,\u000A \u0022categoryKey\u0022: \u0022PERSONALIZATION\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: true,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u002256\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022*.c.2mdn.net\u0022,\u000A \u0022ad\u002Dapac.doubleclick.net\u0022,\u000A \u0022ad.doubleclick.net\u0022,\u000A \u0022bid.g.doubleclick.net\u0022,\u000A \u0022c.2mdn.net\u0022,\u000A \u0022cm.g.doubleclick.net\u0022,\u000A \u0022gcdn.2mdn.net\u0022,\u000A \u0022googleads.g.doubleclick.net\u0022,\u000A \u0022googleads4.g.doubleclick.net\u0022,\u000A \u0022s0.2mdn.net\u0022,\u000A \u0022s1.2mdn.net\u0022,\u000A \u0022static.doubleclick.net\u0022,\u000A \u0022stats.g.doubleclick.net\u0022,\u000A \u0022td.doubleclick.net\u0022,\u000A \u0022www.googletagmanager.com\u0022,\u000A \u0022www.googletagmanager.com/gtag/\u0022\u000A ],\u000A \u0022name\u0022: \u0022Display \u0026 Video 360\u0022,\u000A \u0022nameJa\u0022: \u0022Display \u0026 Video 360\u0022,\u000A \u0022categoryKey\u0022: \u0022ADVERTISING\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: true,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u00222106\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022ep1.adtrafficquality.google\u0022,\u000A \u0022ep2.adtrafficquality.google\u0022,\u000A \u0022pagead2.googlesyndication.com\u0022\u000A ],\u000A \u0022name\u0022: \u0022Google AdSense\u0022,\u000A \u0022nameJa\u0022: \u0022Google AdSense\u0022,\u000A \u0022categoryKey\u0022: \u0022ADVERTISING\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: true,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u0022123\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022s3\u002Dap\u002Dnortheast\u002D1.amazonaws.com\u0022,\u000A \u0022s3\u002Dap\u002Dsoutheast\u002D1.amazonaws.com\u0022,\u000A \u0022s3\u002Deu\u002Dwest\u002D1.amazonaws.com\u0022,\u000A \u0022s3\u002Dus\u002Dwest\u002D2.amazonaws.com\u0022,\u000A \u0022s3.amazonaws.com\u0022,\u000A \u0022s3.ap\u002Dnortheast\u002D1.amazonaws.com\u0022,\u000A \u0022s3.ap\u002Dsoutheast\u002D1.amazonaws.com\u0022\u000A ],\u000A \u0022name\u0022: \u0022Amazon S3\u0022,\u000A \u0022nameJa\u0022: \u0022Amazon S3\u0022,\u000A \u0022categoryKey\u0022: \u0022FUNCTIONAL_SUPPORT\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u0022482\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022cdn.jquerytools.org\u0022,\u000A \u0022cdnjs.cloudflare.com\u0022,\u000A \u0022code.jquery.com\u0022\u000A ],\u000A \u0022name\u0022: \u0022jQuery\u0022,\u000A \u0022nameJa\u0022: \u0022jQuery\u0022,\u000A \u0022categoryKey\u0022: \u0022FUNCTIONAL_SUPPORT\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false,\u000A \u0022displayInWidget\u0022: true\u000A },\u000A \u0022988\u0022: {\u000A \u0022sources\u0022: [\u000A \u0022csi.gstatic.com\u0022,\u000A \u0022khms0.googleapis.com\u0022,\u000A \u0022khms1.googleapis.com\u0022,\u000A \u0022lh3.ggpht.com\u0022,\u000A \u0022maps\u002Dapi\u002Dssl.google.com\u0022,\u000A \u0022maps.google.co.jp\u0022,\u000A \u0022maps.google.com\u0022,\u000A \u0022maps.googleapis.com\u0022,\u000A \u0022maps.gstatic.com\u0022,\u000A \u0022mapsengine.google.com\u0022,\u000A \u0022mt.googleapis.com\u0022,\u000A \u0022www.google.com\u0022\u000A ],\u000A \u0022name\u0022: \u0022Google Maps\u0022,\u000A \u0022nameJa\u0022: \u0022Google マップ\u0022,\u000A \u0022categoryKey\u0022: \u0022FUNCTIONAL_SUPPORT\u0022,\u000A \u0022supportedGtmConsentMode\u0022: false,\u000A \u0022supportedClarityConsentMode\u0022: false,\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false,\u000A \u0022displayInWidget\u0022: true\u000A }\u000A },\u000A \u0022unknownSources\u0022: {\u000A \u0022cdn\u002Dimages.mailchimp.com\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022s3.digisystem.com\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022oss.digisystem.com.cn\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022digi.us9.list\u002Dmanage.com\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022digisystem.us4.list\u002Dmanage.com\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022syndicatedsearch.goog\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022k56879.coveto.de\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022www.teraokaseiko.com\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022www.google.com\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022https://encrypted\u002Dtbn0.gstatic.com/*\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022https://encrypted\u002Dtbn0.gstatic.com/images\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022ep1.adtrafficquality.google\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022https://partner.googleadservices.com\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A },\u000A \u0022https://ep2.adtrafficquality.google\u0022: {\u000A \u0022permittedBySite\u0022: true,\u000A \u0022configurableByUsers\u0022: false\u000A }\u000A },\u000A \u0022inspectedDomains\u0022: [\u000A \u0022www.digisystem.com\u0022\u000A ]\u000A}"),PRIVACY_POLICY_URL:"https://www.digisystem.com/privacy/",PRIVACY_POLICY_URLS:"{}",LOGO_URL:"",LOGO_ALT:"",POSITION:"left",COLOR:"light",THEME_COLOR:"#03A000",HAS_MULTIPLE_DOMAINS:M("false"),GTM_INTEGRATION:M("false"),CLARITY_INTEGRATION:M("false"),DISPLAY_MODE:e.widgetSettings?e.widgetSettings.displayMode.toString():"ConsentMode",DENIABLE_CONSENT_MODE:e.widgetSettings?String(e.widgetSettings.deniableConsentMode):"true",OPT_OUT_MODE_WITHOUT_DIALOG:e.widgetSettings?String(e.widgetSettings.optOutModeWithoutDialog):"false",OPT_OUT_CONFIGURE_ALL:e.widgetSettings?String(e.widgetSettings.optOutConfigureAll):"false",EMBED_DISCLOSURE_MODE:(0,r.parseBooleanString)(i.embedDisclosureMode),VERTICAL_VALUE:i.verticalValue,DESKTOP_VERTICAL_VALUE:i.desktopVerticalValue,HORIZON_VALUE:i.horizonValue,DESKTOP_HORIZON_VALUE:i.desktopHorizonValue,VERTICAL_POSITION:i.verticalPosition,IFRAME_URL:new URL("https://cmp-origin.datasign.co/index.html"),FOLDER_HASH:(0,E.getFolderHash)(),HIDE_ICON:void 0!==i.hideIcon?i.hideIcon:e.widgetSettings&&null!=e.widgetSettings.hideIcon?String(e.widgetSettings.hideIcon):void 0,LANG:i.lang,I18N_IS_CUSTOMIZED:"false",TRANS_JSON_URL:"https://static.cmp.datasign.co/v2/{{path}}/translation.json",CPRA_SETTINGS:(null===(n=e.widgetSettings)||void 0===n?void 0:n.cpraSettings)||JSON.parse("{\u0022isEnabled\u0022: false, \u0022policyUrl\u0022: \u0022\u0022}"),CSP_SETTINGS:JSON.parse("{\u0022directives\u0022: [\u0022\u0027unsafe\u002Dinline\u0027\u0022, \u0022\u0027unsafe\u002Deval\u0027\u0022, \u0022blob:\u0022, \u0022rtmp:\u0022, \u0022rtp:\u0022, \u0022ws:\u0022, \u0022wss:\u0022]}"),FONT_SIZE_INHERIT_BODY:(0,r.parseBooleanString)(i.fontSizeInheritBody),REGIONAL_DELIVERY_RULES:JSON.parse("[{\u0022region\u0022: \u0022GLOBAL\u0022, \u0022display_mode\u0022: \u0022consent\u0022, \u0022whitelist_behavior\u0022: \u0022opt_in\u0022}]"),DIALOG_REOPEN_TIMESTAMP:"null",ACCESS_LOG_BASE_URL:"https://log.cmp.datasign.co",IS_GPC:e.isGPC,SHOW_POWERED_BY:M("false"),CUSTOM_TEXT_RULES:k("{}")}};t._getCmpUiConfig=e=>({NO_UI:(0,t._getNoUiConfig)(e.noUi),EXTERNAL_SERVICES_JSON_URL:"https://static.cmp.datasign.co/v2/d91ea8decc/external_services.json",DIALOG_FOCUS_TRAP:(0,r.parseBooleanString)(e.dialogFocusTrap)});const D=()=>({reportUrl:"https://cmp.datasign.co/csp-report/",enable:(0,r.parseBooleanString)("false")});t._getNoUiConfig=e=>"true"===e?{skimmingPreventionMode:!0,defaultMode:!1}:"default"===e?{skimmingPreventionMode:!1,defaultMode:!0}:{skimmingPreventionMode:!1,defaultMode:!1};const M=e=>"true"==e,k=e=>JSON.parse(e)},1720:function(e,t,n){var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.REGIONAL_DELIVERY_SNAPSHOT_SCHEMA_VERSION=void 0,t.makeSnapshotFromRule=a,t.hasEffectiveSettingsChanged=l,t.readLocalSnapshot=d,t.writeLocalSnapshot=c,t.readIframeSnapshot=function(e){return i(this,void 0,void 0,function*(){const t=(0,s.makeRegionalDeliveryStateKey)(e);let n;try{n=yield(0,r.iframeGetItem)(t)}catch(e){return null}if(!n)return null;try{const e=JSON.parse(n);return h(e)?e:null}catch(e){return null}})},t.writeIframeSnapshot=u,t.resetLocalConsentStorage=_,t.applyRegionalDeliveryDiffReset=function(e){const t=a(e.currentRule),n=d(e.hash),i=null===n,o=l(n,t);o&&(_(e.resetUserConfig),e.hasMultipleDomains&&(0,r.iframeClear)()),(o||i)&&(c(e.hash,t),e.hasMultipleDomains&&u(e.hash,t))};const o=n(3715),r=n(4957),s=n(238);function a(e){return{region:e.region,display_mode:e.display_mode,whitelist_behavior:e.whitelist_behavior,updatedAt:Date.now(),schemaVersion:t.REGIONAL_DELIVERY_SNAPSHOT_SCHEMA_VERSION}}function l(e,t){return null!==e&&(e.display_mode!==t.display_mode||e.whitelist_behavior!==t.whitelist_behavior)}function d(e){const t=(0,s.makeRegionalDeliveryStateKey)(e),n=window.localStorage.getItem(t);if(null==n)return null;try{const e=JSON.parse(n);return h(e)?e:null}catch(e){return null}}function c(e,t){const n=(0,s.makeRegionalDeliveryStateKey)(e);window.localStorage.setItem(n,JSON.stringify(t))}function u(e,t){const n=(0,s.makeRegionalDeliveryStateKey)(e);(0,r.iframeSetItem)(n,JSON.stringify(t))}function _(e){window.localStorage.removeItem(o.OPERATION_STATE_KEY),e()}function h(e){return null!=e&&"object"==typeof e&&"string"==typeof e.region&&"string"==typeof e.display_mode&&"string"==typeof e.whitelist_behavior&&"number"==typeof e.updatedAt&&e.schemaVersion===t.REGIONAL_DELIVERY_SNAPSHOT_SCHEMA_VERSION}t.REGIONAL_DELIVERY_SNAPSHOT_SCHEMA_VERSION="1.0"},3448:function(e,t,n){var i,o=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),s=0;se.noUiConfig.defaultMode||e.noUiConfig.skimmingPreventionMode||e.whereShouldHideCmp&&Boolean(e.localizeDisplay),t.shouldHideCmp=e=>!e.embedDisclosureMode&&(e.whereShouldHideCmp||e.noUiConfig.defaultMode||e.noUiConfig.skimmingPreventionMode)},5988:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.filterObject=function(e,t){if(!e)return{};const n={};return Object.keys(e).forEach(i=>{t(i,e[i])&&(n[i]=e[i])}),n},t.toStorageData=function(e){return(0,i.isStorageData)(e)?e:{cspObject:e,updatedAt:void 0}},t.toCamelCase=function(e){return e.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())},t.getFolderHash=function(){return"d91ea8decc"};const i=n(4633)},2022:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.fireOptOutLinkClickedEvent=t.fireRenderedEvent=t.fireDialogDeniedEvent=t.fireDialogAcceptedEvent=t.fireDialogClosedEvent=t.fireDialogOpenedEvent=t.fireListClosedEvent=t.fireListOpenedEvent=t.fireCmpSaveEvent=t.WebtruCmpApi=t.fireApiEvent=void 0;const i=n(4957),o=n(1708),r=n(3448);function s(e){return{permitted:e.permitted,reason:e.reason}}t.fireApiEvent=(e,t,n,i=!1)=>{const o=new CustomEvent(t,{bubbles:!0,composed:!0,cancelable:i,detail:n});return e.dispatchEvent(o),o};class a{constructor(e){this.storageInstance=new r.Storage(a.FOLDER_HASH),this.version=e,this.apiEventUlisteners={},this.FORCED_BY_SITE=o.FORCED_BY_SITE,this.CHOSEN_BY_USER=o.CHOSEN_BY_USER,this.DEFAULT_OF_SITE=o.DEFAULT_OF_SITE,this.experimental={storage:{clear:()=>{this.storageInstance.clear(),(0,i.iframeClear)()}}}}get(e){const t=this.storageInstance.read().cspObject;if(t&&t.userConfiguration&&t.userConfiguration.services){const n=t.userConfiguration.services;return n[e]?s(n[e]):null}return null}getAll(){const e=this.storageInstance.read().cspObject;return e&&e.userConfiguration&&e.userConfiguration.services?function(e,t){const n={};return Object.keys(e).forEach(i=>{n[i]=t(e[i])}),n}(e.userConfiguration.services,s):{}}on(e,t){var n,i;if(!Object.values(o.API_EVENT_NAMES).includes(e))throw new Error("Invalid argument passed to listen");null===(i=(n=this.apiEventUlisteners)[e])||void 0===i||i.call(n),document.addEventListener(e,t),this.apiEventUlisteners[e]=()=>document.removeEventListener(e,t)}}t.WebtruCmpApi=a,a.EVENT_CMP_SAVE=o.API_EVENT_NAMES.EVENT_CMP_SAVE,a.EVENT_LIST_OPENED=o.API_EVENT_NAMES.EVENT_LIST_OPENED,a.EVENT_LIST_CLOSE=o.API_EVENT_NAMES.EVENT_LIST_CLOSE,a.EVENT_DIALOG_OPENED=o.API_EVENT_NAMES.EVENT_DIALOG_OPENED,a.EVENT_DIALOG_ACCEPTED=o.API_EVENT_NAMES.EVENT_DIALOG_ACCEPTED,a.EVENT_DIALOG_DENIED=o.API_EVENT_NAMES.EVENT_DIALOG_DENIED,a.EVENT_DIALOG_CLOSED=o.API_EVENT_NAMES.EVENT_DIALOG_CLOSED,a.EVENT_OPT_OUT_LINK_CLICKED=o.API_EVENT_NAMES.EVENT_OPT_OUT_LINK_CLICKED,t.fireCmpSaveEvent=(e,n)=>{(0,t.fireApiEvent)(e,o.API_EVENT_NAMES.EVENT_CMP_SAVE,n)},t.fireListOpenedEvent=(e,n)=>(0,t.fireApiEvent)(e,a.EVENT_LIST_OPENED,{ui:n}),t.fireListClosedEvent=e=>{(0,t.fireApiEvent)(e,o.API_EVENT_NAMES.EVENT_LIST_CLOSE)},t.fireDialogOpenedEvent=e=>{(0,t.fireApiEvent)(e,o.API_EVENT_NAMES.EVENT_DIALOG_OPENED)},t.fireDialogClosedEvent=e=>{(0,t.fireApiEvent)(e,o.API_EVENT_NAMES.EVENT_DIALOG_CLOSED)},t.fireDialogAcceptedEvent=e=>{(0,t.fireApiEvent)(e,o.API_EVENT_NAMES.EVENT_DIALOG_ACCEPTED)},t.fireDialogDeniedEvent=e=>{(0,t.fireApiEvent)(e,o.API_EVENT_NAMES.EVENT_DIALOG_DENIED)},t.fireRenderedEvent=(e,n)=>{(0,t.fireApiEvent)(e,o.API_EVENT_NAMES.EVENT_RENDERED,{context:n})},t.fireOptOutLinkClickedEvent=(e,n)=>(0,t.fireApiEvent)(e,o.API_EVENT_NAMES.EVENT_OPT_OUT_LINK_CLICKED,n,!0)},6674:function(e,t,n){var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.WebtruTD=void 0;const o=n(2022);t.WebtruTD=class{constructor(e){this.actionClose=10,this.actionSave=20,this.api=new o.WebtruCmpApi("1.0"),this.webtruTd=e;try{this.treasure=new Treasure(function(e){var t,n,i,o;const r={database:e.DB,writeKey:e.WRITEKEY,startInSignedMode:!0};return e.HOST&&(r.host=e.HOST),!1===(null===(t=e.PARAMS)||void 0===t?void 0:t.startInSignedMode)&&(r.startInSignedMode=!1),(null===(n=e.PARAMS)||void 0===n?void 0:n.useServerSideCookie)&&(r.useServerSideCookie=e.PARAMS.useServerSideCookie),(null===(i=e.PARAMS)||void 0===i?void 0:i.sscDomain)&&(r.sscDomain=e.PARAMS.sscDomain),(null===(o=e.PARAMS)||void 0===o?void 0:o.sscServer)&&(r.sscServer=e.PARAMS.sscServer),r}(e)),console.debug("TD integration is ready.")}catch(e){if(!(e instanceof ReferenceError))throw e}}setup(){return i(this,void 0,void 0,function*(){var e,t,n;function i(e,t){e.set(t,{td_client_id:"td_client_id",td_global_id:"td_global_id"})}yield null===(e=this.treasure)||void 0===e?void 0:e.fetchServerCookie((t=this.treasure,n=this.webtruTd.TABLE,function(e){t.set(n,{td_ssc_id:e}),i(t,n)}),function(e,t){return function(){e.set(t,{td_ssc_id:""}),i(e,t)}}(this.treasure,this.webtruTd.TABLE))})}sendTD(e,t,n){return i(this,void 0,void 0,function*(){var i;yield this.setup();const o={social_login:e,social_id:t,attr:n};null===(i=this.treasure)||void 0===i||i.addRecord(this.webtruTd.TABLE,o)})}saveConsentStatus(e){return i(this,void 0,void 0,function*(){var t;yield this.setup();const n={attr:{action:e,ConsentStatus:this.api.getAll()}};null===(t=this.treasure)||void 0===t||t.addRecord(this.webtruTd.TABLE,n)})}}},2381:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.findAppliedRegionalDeliveryRule=i,t.transformToWidgetSettings=function(e,t){const o=i(e,t),r=n.find(e=>e.displayMode===o.display_mode&&e.whitelistBehavior===o.whitelist_behavior);if(!r)throw new Error(`No matching mapping entry found for display_mode: ${o.display_mode}, whitelist_behavior: ${o.whitelist_behavior}`);return null==r?void 0:r.widgetSettings},t.applyWidgetSettingsToConfig=function(e,t){Object.assign(t,{DISPLAY_MODE:e.displayMode.toString(),DENIABLE_CONSENT_MODE:String(e.deniableConsentMode),OPT_OUT_MODE_WITHOUT_DIALOG:String(e.optOutModeWithoutDialog),OPT_OUT_CONFIGURE_ALL:String(e.optOutConfigureAll),HIDE_ICON:null!=e.hideIcon?String(e.hideIcon):void 0})};const n=[{displayMode:"consent",whitelistBehavior:"user_settings",widgetSettings:{displayMode:"ConsentMode",deniableConsentMode:!0,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!1,whereDefaultMustBeBlock:!0,whereShouldHideCmp:!1}},{displayMode:"consent",whitelistBehavior:"opt_in",widgetSettings:{displayMode:"ConsentMode",deniableConsentMode:!0,optOutModeWithoutDialog:!1,optOutConfigureAll:!0,hideIcon:!1,whereDefaultMustBeBlock:!0,whereShouldHideCmp:!1}},{displayMode:"consent__not_deniable",whitelistBehavior:"user_settings",widgetSettings:{displayMode:"ConsentMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!1,whereDefaultMustBeBlock:!0,whereShouldHideCmp:!1}},{displayMode:"consent__not_deniable",whitelistBehavior:"opt_in",widgetSettings:{displayMode:"ConsentMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!1,whereDefaultMustBeBlock:!0,whereShouldHideCmp:!1}},{displayMode:"opt_out_dialog__display_button",whitelistBehavior:"user_settings",widgetSettings:{displayMode:"OptOutMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!1,whereDefaultMustBeBlock:!1,whereShouldHideCmp:!1}},{displayMode:"opt_out_dialog__display_button",whitelistBehavior:"opt_in",widgetSettings:{displayMode:"OptOutMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!1,whereDefaultMustBeBlock:!0,whereShouldHideCmp:!1}},{displayMode:"opt_out__cpra_dialog",whitelistBehavior:"user_settings",widgetSettings:{displayMode:"OptOutMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!1,whereDefaultMustBeBlock:!1,whereShouldHideCmp:!1,applicableLaw:"CPRA",cpraSettings:{isEnabled:!0}}},{displayMode:"opt_out__cpra_dialog",whitelistBehavior:"opt_in",widgetSettings:{displayMode:"OptOutMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!1,whereDefaultMustBeBlock:!0,whereShouldHideCmp:!1,applicableLaw:"CPRA",cpraSettings:{isEnabled:!0}}},{displayMode:"opt_out__deniable",whitelistBehavior:"user_settings",widgetSettings:{displayMode:"OptOutMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!0,hideIcon:!1,whereDefaultMustBeBlock:!1,whereShouldHideCmp:!1}},{displayMode:"opt_out__deniable",whitelistBehavior:"opt_in",widgetSettings:{displayMode:"OptOutMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!0,hideIcon:!1,whereDefaultMustBeBlock:!0,whereShouldHideCmp:!1}},{displayMode:"opt_out_hide_dialog__display_button",whitelistBehavior:"user_settings",widgetSettings:{displayMode:"OptOutMode",deniableConsentMode:!1,optOutModeWithoutDialog:!0,optOutConfigureAll:!1,hideIcon:!1,whereDefaultMustBeBlock:!1,whereShouldHideCmp:!1}},{displayMode:"opt_out_hide_dialog__display_button",whitelistBehavior:"opt_in",widgetSettings:{displayMode:"OptOutMode",deniableConsentMode:!1,optOutModeWithoutDialog:!0,optOutConfigureAll:!1,hideIcon:!1,whereDefaultMustBeBlock:!0,whereShouldHideCmp:!1}},{displayMode:"opt_out_hide_dialog__link",whitelistBehavior:"user_settings",widgetSettings:{displayMode:"OptOutMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!0,whereDefaultMustBeBlock:!1,whereShouldHideCmp:!1}},{displayMode:"opt_out_hide_dialog__link",whitelistBehavior:"opt_in",widgetSettings:{displayMode:"OptOutMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!0,whereDefaultMustBeBlock:!0,whereShouldHideCmp:!1}},{displayMode:"notification_dialog",whitelistBehavior:"noop",widgetSettings:{displayMode:"NotificationMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!1,whereDefaultMustBeBlock:!1,whereShouldHideCmp:!1,noCSP:!0}},{displayMode:"disclosure_button",whitelistBehavior:"noop",widgetSettings:{displayMode:"DisclosureMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!1,whereDefaultMustBeBlock:!1,whereShouldHideCmp:!1,noCSP:!0}},{displayMode:"disclosure_link",whitelistBehavior:"noop",widgetSettings:{displayMode:"DisclosureMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!0,whereDefaultMustBeBlock:!1,whereShouldHideCmp:!1,noCSP:!0}},{displayMode:"no_ui",whitelistBehavior:"user_settings",widgetSettings:{displayMode:"OptOutMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!0,whereDefaultMustBeBlock:!1,whereShouldHideCmp:!0}},{displayMode:"no_ui",whitelistBehavior:"opt_in",widgetSettings:{displayMode:"OptOutMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!0,whereDefaultMustBeBlock:!0,whereShouldHideCmp:!0}},{displayMode:"no_ui",whitelistBehavior:"noop",widgetSettings:{displayMode:"NotificationMode",deniableConsentMode:!1,optOutModeWithoutDialog:!1,optOutConfigureAll:!1,hideIcon:!0,whereDefaultMustBeBlock:!1,whereShouldHideCmp:!0,noCSP:!0}}];function i(e,t){const n=t.find(t=>t.region===e);if(!n)throw new Error(`No matching rule found for country code: ${e}`);return n}},1632:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.saveIframeStorage=void 0,t.makeApplyButtonHandler=function(e){return()=>{var n;(0,c.blurActiveElement)(),e.context.storage.saveConfiguration(),e.context.storage.updateConsentAt(),e.context.hasMultipleDomains&&(0,t.saveIframeStorage)(e.context.storage.getStorageData(),e.context.storage.hash),e.syncGtagConsent&&e.syncGtagConsent(u(e.context)),e.syncClarityConsent&&e.syncClarityConsent(u(e.context)),(0,d.closeModalWithSave)(e.context.setter),(0,l.saveConsentStatus)(null===(n=window.webtruTD)||void 0===n?void 0:n.actionSave);const o=new window.WebtruCmpApi("1.0").getAll();(0,i.fireCmpSaveEvent)(document,{detail:o});const r=e.context.servicesDisplayedInWidget;(0,s.pushCMPSave)(o,r)}},t.checkAll=function(e){const n=e.storage,i=Object.entries(e.services);for(let t=0;t{new a.IframeStorage(t).write(e)}},7852:function(e,t,n){var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.parseBooleanString=s,t.getConfig=function(e){var t,n;const i=e.folderHash||"",o=function(e){return e&&["light","dark"].includes(e)?e:"light"}(e.color),r=e.hideIcon,_="undefined"===r||void 0===r?void 0:s(r),h=s(e.gtmIntegration),f=s(e.clarityIntegration),p=h||f,g=e.cpraSettings,m=g&&"undefined"!==g?JSON.parse(g):{isEnabled:!1,policyUrl:""},w=(E=null!==(t=e.customTextRules)&&void 0!==t?t:"{}",JSON.parse(E));var E;return{localeKey:e.localeKey,privacyPolicyUrl:e.privacyPolicyUrl,privacyPolicyUrls:u(e.privacyPolicyUrls),logoUrl:e.logoUrl,logoAlt:e.logoAlt||"",color:o,themeColor:c(o,e.themeColor),hasMultipleDomains:s(e.hasMultipleDomains),folderHash:i,hideIcon:_,gtmIntegration:h,clarityIntegration:f,categoryOnlyMode:p,lang:e.lang||window.navigator.language,displayMode:a(e.displayMode),deniableConsentMode:s(e.deniableConsentMode),embedDisclosureMode:s(e.embedDisclosureMode),optOutModeWithoutDialog:s(e.optOutModeWithoutDialog),optOutConfigureAll:s(e.optOutConfigureAll),i18nIsCustomized:s(e.i18nIsCustomized),transJsonUrl:e.transJsonUrl,compress:"true"===e.compress,cmpjsScriptSrc:e.cmpjsScriptSrc,applicableLaw:null!==(n=e.applicableLaw)&&void 0!==n?n:void 0,cpraSettings:m,fontSizeInheritBody:s(e.fontSizeInheritBody),dialogReopenTimestamp:e.dialogReopenTimestamp?Number(e.dialogReopenTimestamp):void 0,iconPosition:{mobileVerticalValue:e.verticalValue,desktopVerticalValue:e.desktopVerticalValue,mobileHorizonValue:e.horizonValue,desktopHorizonValue:e.desktopHorizonValue,verticalPosition:d(e.verticalPosition),horizontalPosition:l(e.position)},externalServicesJsonUrl:e.externalServicesJsonUrl,dialogFocusTrap:s(e.dialogFocusTrap),isGPC:s(e.isGPC),showPoweredBy:s(e.showPoweredBy),customTextRules:w}},t._filterServiceDefinitionsToDisplay=_,t.getServicesDisplayedInWidget=function(e,t){return i(this,void 0,void 0,function*(){const n=yield fetch(e),i=yield n.json();return(0,r.replaceStringsDeep)(_(i),t)})};const o=n(5166),r=n(4131);function s(e){return"true"===e}function a(e){return e&&["NotificationMode","DisclosureMode","ConsentMode","OptOutMode"].includes(e)?e:"DisclosureMode"}function l(e){return e&&["left","right"].includes(e)?e:"left"}function d(e){return e&&["top","bottom"].includes(e)?e:"bottom"}function c(e,t){const n="dark"===e?"#17c888":"#03A000";return t&&(0,o.isValidHexColor)(t)?t:n}function u(e){return e?JSON.parse(e):{}}function _(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e.displayInWidget))}},6209:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MODAL_ID=t.I18N_CUSTOM_NAMESPACE=t.I18N_DEFAULT_NAMESPACE=t.EMBED_SHADOW_HOST_CLASS=t.OLD_EMBED_SHADOW_HOST_ID=t.BUTTON_SHADOW_HOST_IDS=t.DIALOG_SHADOW_HOST_IDS=t.WIDGET_SHADOW_HOST_ID=t.DEFAULT_OF_SITE=t.CHOSEN_BY_USER=t.FORCED_BY_SITE=void 0,t.FORCED_BY_SITE=60,t.CHOSEN_BY_USER=40,t.DEFAULT_OF_SITE=20,t.WIDGET_SHADOW_HOST_ID="datasign_cmp__host",t.DIALOG_SHADOW_HOST_IDS=Object.freeze({webtru:"datasign_cmp__dialog",cc:"CloudCIRCUS_cmp__dialog"}),t.BUTTON_SHADOW_HOST_IDS=Object.freeze({webtru:"datasign_cmp__button",cc:"CloudCIRCUS_cmp__button"}),t.OLD_EMBED_SHADOW_HOST_ID="__datasign_embed_disclosure_mode__",t.EMBED_SHADOW_HOST_CLASS={webtru:e=>`__datasign_embed_disclosure_mode_${e}__`,cc:e=>`__CloudCIRCUS_embed_disclosure_mode_${e}__`},t.I18N_DEFAULT_NAMESPACE="default",t.I18N_CUSTOM_NAMESPACE="custom",t.MODAL_ID="datasign_cmp__cmp_content"},4131:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.replaceStringsDeep=t.applyCustomTextRules=void 0,t.applyCustomTextRules=(e,t)=>e?Object.entries(t).reduce((e,[t,n])=>t?e.split(t).join(n):e,e):e,t.replaceStringsDeep=(e,n)=>"string"==typeof e?(0,t.applyCustomTextRules)(e,n):Array.isArray(e)?e.map(e=>(0,t.replaceStringsDeep)(e,n)):e&&"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,i])=>[e,(0,t.replaceStringsDeep)(i,n)])):e},5649:function(e,t,n){var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.resetOperationStateByDialogReopenOnIframe=t.resetOperationStateByDialogReopen=t.ModalOperation=t.DialogOperation=t.Operation=t.OperationStateKeys=void 0,t.checkUnOperated=s,t.checkIfKeyPatternIsUnOperated=c,t.loadOperationState=u,t.loadIframeOperationState=_,t.loadLocalStorage=h,t.loadIframeLocalStorage=f,t.saveLocalStorage=p,t.saveIframeLocalStorage=g,t.clearIframeLocalStorage=m;const o=n(4957),r=n(3715);function s(e){const t=u();return!t||c(e,t)}t.OperationStateKeys=["dialogOperationData","modalOperationData"];class a{constructor(e,t,n,i){this.displayMode=e,this.deniableConsentMode=t,this.operationType=n,this.hasMultipleDomains=i}makeDefaultOperationState(){const e={};return t.OperationStateKeys.forEach(t=>{e[t]={}}),e}makeInnerOperationData(){return{timestamp:Date.now(),displayMode:this.displayMode,deniableConsentMode:this.deniableConsentMode,operationType:this.operationType}}saveOperationData(){if(this.isUnOperated_()){const e=this.makeOperationData();p(r.OPERATION_STATE_KEY,e),this.hasMultipleDomains&&g(r.OPERATION_STATE_KEY,e)}}}t.Operation=a;class l extends a{static isUnOperated(){return s("dialogOperationData")}isUnOperated_(){return l.isUnOperated()}makeOperationData(){const e=this.makeInnerOperationData(),t=u();if(t)return t.dialogOperationData=e,JSON.stringify(t);{const t=this.makeDefaultOperationState();return t.dialogOperationData=e,JSON.stringify(t)}}}t.DialogOperation=l;class d extends a{static isUnOperated(){return s("modalOperationData")}isUnOperated_(){return d.isUnOperated()}makeOperationData(){const e=this.makeInnerOperationData(),t=u();if(t)return t.modalOperationData=e,JSON.stringify(t);{const t=this.makeDefaultOperationState();return t.modalOperationData=e,JSON.stringify(t)}}}function c(e,t){return 0===Object.keys(t[e]).length}function u(){const e=h(r.OPERATION_STATE_KEY);if(!e)return null;try{const n=JSON.parse(e);return t.OperationStateKeys.some(e=>!(e in n))?null:n}catch(e){return null}}function _(){return i(this,void 0,void 0,function*(){const e=yield f(r.OPERATION_STATE_KEY);if(!e)return null;try{const n=JSON.parse(e);return t.OperationStateKeys.some(e=>!(e in n))?null:n}catch(e){return null}})}function h(e){return window.localStorage.getItem(e)}function f(e){return(0,o.iframeGetItem)(e)}function p(e,t){window.localStorage.setItem(e,t)}function g(e,t){(0,o.iframeSetItem)(e,t)}function m(e){(0,o.iframeSetItem)(e,JSON.stringify({}))}t.ModalOperation=d,t.resetOperationStateByDialogReopen=e=>{var t,n,i,o,s,a;if(!e)return;const l=u(),d=(null===(t=null==l?void 0:l.dialogOperationData)||void 0===t?void 0:t.timestamp)&&(null!==(i=null===(n=l.dialogOperationData)||void 0===n?void 0:n.timestamp)&&void 0!==i?i:0)i(void 0,void 0,void 0,function*(){var t,n,i,o,s,a;if(!e)return;const l=yield _(),d=(null===(t=null==l?void 0:l.dialogOperationData)||void 0===t?void 0:t.timestamp)&&(null!==(i=null===(n=l.dialogOperationData)||void 0===n?void 0:n.timestamp)&&void 0!==i?i:0){if(!c)return;const t=e.target;if(!(t instanceof Element))return;const n=t.closest(d);n&&((0,i.fireListOpenedEvent)(n,"link"),c.hideIcon&&l(),requestAnimationFrame(()=>{null==c||c.setter.setShowModal(!0)}),(0,o.pushCMPClick)())},{capture:!0}))},t.hideWidget=function(e){e&&a()};const i=n(2022),o=n(5246),r=n(2882);function s(){const e=document.getElementById("datasign_cmp__host");if(e)return e;throw new Error("#datasign_cmp__host is not found")}function a(){const e=s();e&&(e.style.display="none")}function l(){const e=s();e&&(e.style.display="block")}t.CLICK_OPEN_WIDGET_IDENTIFIER="__datasign_consent_manager_open_widget__";const d=[`#${t.CLICK_OPEN_WIDGET_IDENTIFIER}`,`.${t.CLICK_OPEN_WIDGET_IDENTIFIER}`].join(", ");let c=null,u=!1},8743:function(e,t,n){var i,o=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),s=0;s{const e=document.activeElement;e instanceof HTMLElement&&e.blur()}},3715:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.OPERATION_STATE_KEY=void 0,t.OPERATION_STATE_KEY="co.datasign.widget.operationState"},5431:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryBase=t.ServiceCategories=void 0,t.ServiceCategories=["MUST","ADVERTISING","ANALYTICS","DATA_AGGREGATION","FUNCTIONAL_SUPPORT","SECURITY","SOCIAL_PLUGIN","PERSONALIZATION"],t.CategoryBase=class{constructor(e,t){this.categoryKey=e,this.services=t,this.isDisabled="MUST"===this.categoryKey}getChecksNum(e){let t=0;return Object.keys(this.services).forEach(n=>{e.getServiceSetting(n)&&e.getServiceSetting(n).permitted&&t++}),t}areAllChecked(e){return Object.keys(this.services).length===this.getChecksNum(e)}atLeastOneServiceChecked(e){return this.getChecksNum(e)>0}getI18nDescriptionKey(){return this.categoryKey+"_DESCRIPTION"}}},2500:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.CmpCategory=void 0;const i=n(5431);class o extends i.CategoryBase{constructor(e,t){super(e,t)}}t.CmpCategory=o},6770:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getCmpCategories=function(e){const t=(e,t)=>new r.CmpCategory(e,t),n=a(e),i=l(e);return[t("MUST",n),...d(i,t)]},t.getUiCategories=function(e,t,n){const i=(e,t)=>new s.UiCategory(e,t,n);if("NotificationMode"===t||"DisclosureMode"===t)return d(e,i);const o=a(e),r=l(e);return[i("MUST",o),...d(r,i)]};const i=n(3219),o=n(5431),r=n(2500),s=n(6168);function a(e){return(0,i.filterObject)(e,function(e,t){return!t.configurableByUsers&&t.permittedBySite})}function l(e){return(0,i.filterObject)(e,function(e,t){return t.configurableByUsers})}function d(e,t){const n=[];return o.ServiceCategories.forEach(o=>{if("MUST"===o)return;const r=(0,i.filterObject)(e,(e,t)=>t.categoryKey===o);Object.keys(r).length>0&&n.push(t(o,r))}),n}},6168:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.UiCategory=void 0;const i=n(5431);class o extends i.CategoryBase{constructor(e,t,n){super(e,t),this.compareFn=n}getSortedServices(){return Object.entries(this.services).sort(this.compareFn)}}t.UiCategory=o},2489:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AtLeastOneServiceChecked=function(e,t,n){var i,o;return null!==(o=null===(i=e.find(e=>e.categoryKey===t))||void 0===i?void 0:i.atLeastOneServiceChecked(n))&&void 0!==o&&o},t.makeCompareFn=function(e){const t="ja"===e||"ja-JP"===e?"nameJa":"name";return(e,n)=>e[1][t].localeCompare(n[1][t])},t.getAtLeastOneCheckedMap=function(e,t){const n=Object.fromEntries(i.ServiceCategories.filter(e=>"MUST"!==e).map(e=>[e,!1]));return e.filter(e=>"MUST"!==e.categoryKey).forEach(e=>{const i=e.categoryKey;n[i]=e.atLeastOneServiceChecked(t)}),n};const i=n(5431)},4633:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isStorageData=function(e){return null!==e&&"object"==typeof e&&"cspObject"in e&&"object"==typeof e.cspObject&&"updatedAt"in e&&"number"==typeof e.updatedAt}},6744:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.syncClarityConsent=function(e){var t;const n=e=>e?"granted":"denied";null===(t=window.clarity)||void 0===t||t.call(window,"consentv2",{ad_Storage:n(e.ADVERTISING),analytics_Storage:n(e.ANALYTICS)})}},3219:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.filterObject=function(e,t){const n={};for(const i in e)t(i,e[i])&&(n[i]=e[i]);return n}},5246:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.datalayerPush=t.pushThirdPartyReady=t.pushCSPInserted=t.pushCMPClick=t.getConsentStatuses=t.pushCMPSave=t.getCmpServiceConf=t.wasSetLate=t.getEventName=t.getGcmVersion=void 0,t.syncGtagConsent=function(e){if(!window.gtag&&!window.webtruGcmUpdateListener)return;if("OptOutMode"!==e.displayMode&&"ConsentMode"!==e.displayMode)return;(0,t.wasSetLate)()&&console.error(o.default` [Google Consent Mode issue] At least one of your Google tags fired before the default consent state was set. Learn more at https://developers.google.com/tag-platform/security/guides/consent-debugging#default-consent or contact support at support@datasign.jp `);const n=a(e.gcmVersion)?{ad_storage:e.atLeastOneCheckedMap.ADVERTISING?"granted":"denied",analytics_storage:e.atLeastOneCheckedMap.ANALYTICS?"granted":"denied",ad_personalization:e.atLeastOneCheckedMap.ADVERTISING?"granted":"denied",ad_user_data:e.atLeastOneCheckedMap.ADVERTISING?"granted":"denied"}:{ad_storage:e.atLeastOneCheckedMap.ADVERTISING?"granted":"denied",analytics_storage:e.atLeastOneCheckedMap.ANALYTICS?"granted":"denied"};window.gtag&&s(e.gcmVersion)&&window.gtag("consent",(0,t.getEventName)(e.initialize,e.gcmVersion),n),window.webtruGcmUpdateListener&&a(e.gcmVersion)&&window.webtruGcmUpdateListener(n),e.initialize&&(0,t.datalayerPush)({event:"webtru_default_consent"})};const o=i(n(3700)),r=n(1708);t.getGcmVersion=e=>{if(void 0===e)return;const t=new URL(e).searchParams.get("gcm");return"1"===t?"v1":"v2"===t?"v2":void 0};const s=e=>void 0===e||"v1"===e,a=e=>"v2"===e;t.getEventName=(e,t)=>e&&null==t?"default":"update",t.wasSetLate=()=>{var e,t;return!0===(null===(t=null===(e=null===window||void 0===window?void 0:window.google_tag_data)||void 0===e?void 0:e.ics)||void 0===t?void 0:t.wasSetLate)},t.getCmpServiceConf=(e,t)=>{const n={};for(const i in t)e[i]&&(n[i]={name:t[i].nameJa,category:t[i].categoryKey,permitted:e[i].permitted,reason:e[i].reason});const i=Object.entries(n),o=[];let r=[];for(const e of i.map(([,e])=>e))e.permitted||(o.push(e.name),r=r.concat(e.category));const s=Array.from(new Set(r));return{deniedNum:o.length,deniedServices:o.sort().join("|"),deniedCategory:s.sort().join("|")}},t.pushCMPSave=(e,n)=>{const i=(0,t.getCmpServiceConf)(e,n),o=(0,t.getConsentStatuses)(e,n);(0,t.datalayerPush)(Object.assign({denied_num:i.deniedNum,denied_services:i.deniedServices,denied_category:i.deniedCategory,event:r.API_EVENT_NAMES.EVENT_CMP_SAVE},o))},t.getConsentStatuses=(e,t)=>{function n(n){const i=Object.keys(t).filter(e=>t[e].categoryKey===n&&!0===t[e].configurableByUsers);if(!i.length)return null;const o=i.filter(t=>{var n;return!0===(null===(n=e[t])||void 0===n?void 0:n.permitted)});let r="granted";return 0===o.length?r="denied":o.length{(0,t.datalayerPush)({event:r.EVENT_CMP_CLICK})},t.pushCSPInserted=()=>{(0,t.datalayerPush)({event:r.API_EVENT_NAMES.EVENT_CSP_INSERTED})},t.pushThirdPartyReady=()=>{(0,t.datalayerPush)({event:r.API_EVENT_NAMES.EVENT_THIRD_PARTY_READY})},t.datalayerPush=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push(Object.assign({},e))}},5166:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isValidHexColor=void 0;const n="a-f\\d",i=`#?[${n}]{3}[${n}]?`,o=`#?[${n}]{6}([${n}]{2})?`,r=new RegExp(`[^#${n}]`,"gi"),s=new RegExp(`^${i}$|^${o}$`,"i");t.isValidHexColor=e=>/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(e),t.default=function(e,t={}){if("string"!=typeof e||r.test(e)||!s.test(e))throw new TypeError("Expected a valid hex string");let n=1;8===(e=e.replace(/^#/,"")).length&&(n=Number.parseInt(e.slice(6,8),16)/255,e=e.slice(0,6)),4===e.length&&(n=Number.parseInt(e.slice(3,4).repeat(2),16)/255,e=e.slice(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);const i=Number.parseInt(e,16),o=i>>16,a=i>>8&255,l=255&i,d="number"==typeof t.alpha?t.alpha:n;return"array"===t.format?[o,a,l,d]:"css"===t.format?`rgb(${o} ${a} ${l}${1===d?"":` / ${Number((100*d).toFixed(2))}%`})`:{red:o,green:a,blue:l,alpha:d}}},4957:function(e,t,n){var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.IframeStorage=void 0,t.iframeSetItem=a,t.iframeGetItem=l,t.iframeClear=function(e=o.getIframeOrNull){var t;const n=e();n&&(null===(t=n.contentWindow)||void 0===t||t.postMessage({action:"clear"},n.src))},t.getPostMessageStorageData=d;const o=n(2865),r=n(5988),s=n(238);function a(e,t){var n;const i=(0,o.getIframe)();null===(n=i.contentWindow)||void 0===n||n.postMessage({action:"save",localStorageKey:e,body:t},i.src)}function l(e){return i(this,void 0,void 0,function*(){var t;const n=Date.now().toString()+"getItem",i=(0,o.getIframe)();return null===(t=i.contentWindow)||void 0===t||t.postMessage({action:"get",localStorageKey:e,syncStorageKey:n},i.src),yield d(n)})}function d(e){return i(this,void 0,void 0,function*(){return new Promise((t,n)=>{let i=0;const o=window.setInterval(()=>{i>10&&(clearInterval(o),n());const r=window.cmpConsentStatusPostMessageStorage[e];r?(delete window.cmpConsentStatusPostMessageStorage[e],clearInterval(o),t(r)):null===r&&(delete window.cmpConsentStatusPostMessageStorage[e],clearInterval(o),n()),i++},250)})})}t.IframeStorage=class{constructor(e){this.key=(0,s.makeUserConfStorageKey)(e)}getSpecVersion(){return i(this,void 0,void 0,function*(){if(yield this.isEmpty())return"0.1";{const e=yield this.read();return"specVersion"in e.cspObject?e.cspObject.specVersion:"0.1"}})}isEmpty(){return i(this,void 0,void 0,function*(){return!(yield this.hasItem())})}read(){return i(this,void 0,void 0,function*(){const e=yield l(this.key);return(0,r.toStorageData)(JSON.parse(e))})}write(e){const t=JSON.stringify(e);a(this.key,t)}hasItem(){return i(this,void 0,void 0,function*(){return null!=(yield l(this.key))})}}},238:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.makeUserConfStorageKey=function(e){return e?`co.datasign.cmp.configuration.${e}.user`:"co.datasign.cmp.configuration.user"},t.makeRegionalDeliveryStateKey=function(e){return`co.datasign.cmp.regionalDeliveryState.${e}`}},5773:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.URLCanParse=void 0,t.URLCanParse=e=>{try{new URL(e)}catch(e){return!1}return!0}},3:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decompress=t.compress=void 0;const o=i(n(1791));t.compress=e=>{const t=(new TextEncoder).encode(e);return function(e){let t="";const n=e.byteLength;for(let i=0;i{const t=o.default.inflate(function(e){const t=window.atob(e),n=t.length,i=new Uint8Array(n);for(let e=0;ee({...t,...n}),n;function n(e,...n){const o="string"==typeof e?[e]:e.raw,{alignValues:r=!1,escapeSpecialCharacters:s=Array.isArray(e),trimWhitespace:a=!0}=t;let l="";for(let e=0;e" "===t[0]||"\t"===t[0]?t.slice(e):t).join("\n")}return a&&(l=l.trim()),s&&(l=l.replace(/\\n/g,"\n").replace(/\\t/g,"\t").replace(/\\r/g,"\r").replace(/\\v/g,"\v").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\0/g,"\0").replace(/\\x([\da-fA-F]{2})/g,(e,t)=>String.fromCharCode(parseInt(t,16))).replace(/\\u\{([\da-fA-F]{1,6})\}/g,(e,t)=>String.fromCodePoint(parseInt(t,16))).replace(/\\u([\da-fA-F]{4})/g,(e,t)=>String.fromCharCode(parseInt(t,16)))),"undefined"!=typeof Bun&&(l=l.replace(/\\u(?:\{([\da-fA-F]{1,6})\}|([\da-fA-F]{4}))/g,(e,t,n)=>{var i;const o=null!==(i=null!=t?t:n)&&void 0!==i?i:"";return String.fromCodePoint(parseInt(o,16))})),l}}({});function i(e,t){if("string"!=typeof e||!e.includes("\n"))return e;const n=t.slice(t.lastIndexOf("\n")+1).match(/^(\s+)/);if(n){const t=n[1];return e.replace(/\n/g,`\n${t}`)}return e}t.default=n,e.exports=t.default,e.exports.default=t.default}},t={};(0,function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,n),r.exports}(1620).main2)('GLOBAL')}();